Fixed changing specie for a mob to throw him into the void until relo… (#19290)

Fixed changing specie for a mob to throw him into the void until
relogged.
This commit is contained in:
Fluffy
2024-05-31 20:15:47 +00:00
committed by GitHub
parent d0d98edb8f
commit e4ae8e75fd
3 changed files with 61 additions and 8 deletions
@@ -1515,12 +1515,9 @@
if (vessel)
restore_blood()
// Rebuild the HUD. If they aren't logged in then login() should reinstantiate it for them.
if(client && client.screen)
client.screen.len = null
if(hud_used)
qdel(hud_used)
hud_used = new /datum/hud(src)
// Rebuild the HUD and visual elements.
if(client)
LateLogin()
if (src.is_diona())
setup_gestalt(1)
@@ -1583,7 +1580,6 @@
else
return FALSE
/mob/living/carbon/human/proc/fill_out_culture_data()
set_culture(GET_SINGLETON(species.possible_cultures[1]))
set_origin(GET_SINGLETON(culture.possible_origins[1]))
@@ -23,7 +23,6 @@
max_n2 = 0
minbodytemp = 0
speed = 4
see_in_dark = 8
emote_hear = list("emits a harsh noise")
emote_sounds = list(
'sound/effects/creatures/hivebot/synth_possessed.ogg',