obj
Red_Flag
icon='other.dmi'
icon_state="red"
layer=999
Enter(A)
if(ismob(A))
var/mob/M = A
if(M.team==2)
M.overlays+=/obj/Red_Flag
M.team2flag=1
if(M.team==1)
if(M.team1flag==1)
redscore+=1
M.overlays-=/obj/Blue_Flag
M.team1flag=0
else
if(istype(A,/obj/)) del(A)
Problem description:
whats wrong witht his code?
-Digi Hero