mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Fixes swarm enemies behaving like walls when dead (#10356)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c97dd30969
commit
f730089c46
@@ -156,7 +156,7 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable
|
||||
return FALSE
|
||||
|
||||
/obj/item/nif/proc/quick_install(var/mob/living/carbon/human/H)
|
||||
if(!H) //Or letting them get deleted
|
||||
if(QDELETED(H)) //Or letting them get deleted
|
||||
return
|
||||
if(H.mind)
|
||||
owner = H.mind.name
|
||||
|
||||
@@ -39,9 +39,9 @@
|
||||
var/obj/item/nif/nif
|
||||
var/datum/nifsoft/commlink/nifsoft
|
||||
|
||||
/obj/item/communicator/commlink/New(var/newloc,var/soft)
|
||||
..()
|
||||
nif = newloc
|
||||
/obj/item/communicator/commlink/Initialize(mapload, var/soft)
|
||||
. = ..()
|
||||
nif = loc
|
||||
nifsoft = soft
|
||||
|
||||
/obj/item/communicator/commlink/Destroy()
|
||||
|
||||
Reference in New Issue
Block a user