Skip to content

Commit

Permalink
No. Just no.
Browse files Browse the repository at this point in the history
  • Loading branch information
iWuna committed Apr 25, 2022
1 parent 548db41 commit 50aed78
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
11 changes: 7 additions & 4 deletions code/_onclick/hud/hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,13 @@
plane_masters["[instance.plane]"] = instance
instance.backdrop(mymob)

/datum/hud/Destroy(mob/user)
qdel(hide_actions_toggle)
qdel(module_store_icon)
qdel(static_inventory)
/datum/hud/Destroy()
if(mymob.hud_used == src)
mymob.hud_used = null

QDEL_NULL(hide_actions_toggle)
QDEL_NULL(module_store_icon)
QDEL_LIST(static_inventory)

inv_slots.Cut()
action_intent = null
Expand Down
16 changes: 8 additions & 8 deletions code/modules/mob/living/death.dm
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@
if(client)
client.move_delay = initial(client.move_delay)
client.screen += new /obj/screen/fullscreen/death
if(getToxLoss() > 20)
switch(rand(1,2))
if(1)
to_chat(src, sound('sound/f13effects/NAR_7.ogg',0,1,90))
else
to_chat(src, sound('sound/f13effects/NAR_5.ogg',0,1,90))
else
to_chat(src, sound('sound/f13effects/NAR_6.ogg',0,1,90))
if(getToxLoss() > 20)
switch(rand(1,2))
if(1)
to_chat(src, sound('sound/f13effects/NAR_7.ogg',0,1,90))
else
to_chat(src, sound('sound/f13effects/NAR_5.ogg',0,1,90))
else
to_chat(src, sound('sound/f13effects/NAR_6.ogg',0,1,90))
for(var/s in ownedSoullinks)
var/datum/soullink/S = s
S.ownerDies(gibbed)
Expand Down

0 comments on commit 50aed78

Please sign in to comment.