Fixes bellyghost organ explosion and horizontal spaceman icon update bugs (#7023)

This commit is contained in:
Verkister
2023-09-22 08:03:35 +02:00
committed by GitHub
parent d654d3f789
commit 1a259d8221
4 changed files with 18 additions and 8 deletions
@@ -4,6 +4,7 @@
/mob/observer/Destroy()
if(body_backup)
body_backup.moveToNullspace() //YEET
qdel(body_backup)
body_backup = null
return ..()
@@ -50,3 +50,12 @@
set desc = "Toggle glasses worn icon visibility."
hide_glasses = !hide_glasses
update_inv_glasses()
/mob/living/carbon/human/verb/flip_lying()
set name = "Flip Resting Direction"
set category = "Abilities"
set desc = "Switch your horizontal direction while prone."
if(isnull(resting_dir))
resting_dir = FALSE
resting_dir = !resting_dir
update_transform(TRUE)
@@ -13,6 +13,7 @@
var/hide_glasses = FALSE
var/speech_sound_enabled = TRUE
var/nutrition_hidden = FALSE
var/resting_dir = null
/mob/living/carbon/human/ai_controlled
low_priority = TRUE