mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Revert "Fixes hivebot swarm core not clearing it's target"
This reverts commit 00870ee32e.
This commit is contained in:
@@ -70,9 +70,9 @@
|
||||
/obj/machinery/hivebot_swarm_core/proc/defend_the_swarm()
|
||||
var/atom/movable/threat_to_swarm = src.threat_to_swarm
|
||||
var/mob/living/L = threat_to_swarm
|
||||
if(!istype(L))
|
||||
if(!istype(L) || L.stat)
|
||||
L = null
|
||||
if(QDELETED(threat_to_swarm) || !(threat_to_swarm in view(7, src)) || (L && L.stat))
|
||||
if(QDELETED(threat_to_swarm) || !threat_to_swarm in view(7, src) || L)
|
||||
say("TARGET LOST. RESUMING FABRICATION ROUTINE.")
|
||||
threat_to_swarm = null
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user