mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-14 20:02:43 +00:00
Merge pull request #12800 from DeltaFire15/swarmer-fix
Fixes swarmers not being able to eat any items at all
This commit is contained in:
@@ -486,7 +486,7 @@
|
|||||||
var/obj/O = target
|
var/obj/O = target
|
||||||
if(O.resistance_flags & INDESTRUCTIBLE)
|
if(O.resistance_flags & INDESTRUCTIBLE)
|
||||||
return FALSE
|
return FALSE
|
||||||
for(var/mob/living/L in GetAllContents())
|
for(var/mob/living/L in target.GetAllContents())
|
||||||
if(!ispAI(L) && !isbrain(L))
|
if(!ispAI(L) && !isbrain(L))
|
||||||
to_chat(src, "<span class='warning'>An organism has been detected inside this object. Aborting.</span>")
|
to_chat(src, "<span class='warning'>An organism has been detected inside this object. Aborting.</span>")
|
||||||
return FALSE
|
return FALSE
|
||||||
|
|||||||
Reference in New Issue
Block a user