blob_act doesn't care about the parent proc's return value, but the code seems to think it should
Created by: gbasood
/atom/proc/blob_act(destroy = 0)
//DEBUG to_chat(pick(player_list),"blob_act() on [src] ([src.type])")
if(flags & INVULNERABLE)
return // THIS LINE
anim(target = loc, a_icon = 'icons/mob/blob.dmi', flick_anim = "blob_act", sleeptime = 15, lay = 12)
return
Okay, makes sense so far, sort of, right? Except
/obj/structure/grille/blob_act()
..()
health -= rand(initial(health)*0.8, initial(health)*3) //Grille will always be blasted, but chances of leaving things over
healthcheck(hitsound = 1)
Would destroy itself even if it had the INVULNERABLE flag, because ..() doesn't care about WHEN it returns, it just gives you the return value Thanks blobcode