mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-31 09:09:49 +01:00
[MIRROR] (Partially) Fixes Out Of Memory crashes (#10092)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Cameron Lennox
Kashargul
parent
133f37de97
commit
ec71611656
@@ -81,8 +81,6 @@
|
||||
if(!D.has_AI())
|
||||
continue
|
||||
D.ai_holder.lose_target()
|
||||
|
||||
watchowner.emote("deathgasp")
|
||||
watchowner.alpha = 15
|
||||
makeacorpse(watchowner)
|
||||
return
|
||||
@@ -97,7 +95,8 @@
|
||||
if(H.isSynthetic())
|
||||
return
|
||||
corpse = new /mob/living/carbon/human(H.loc)
|
||||
corpse.setDNA(H.dna.Clone())
|
||||
qdel_swap(corpse.dna,H.dna.Clone())
|
||||
corpse.emote("deathgasp")
|
||||
corpse.death(1) //Kills the new mob
|
||||
var/obj/item/clothing/temp = null
|
||||
if(H.get_equipped_item(slot_w_uniform))
|
||||
|
||||
Reference in New Issue
Block a user