mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Uses more QDEL_NULLs
This commit is contained in:
@@ -43,8 +43,7 @@
|
||||
H.set_species(H.species.primitive_form)
|
||||
|
||||
if(H.hud_used)
|
||||
qdel(H.hud_used)
|
||||
H.hud_used = null
|
||||
QDEL_NULL(H.hud_used)
|
||||
|
||||
if(H.client)
|
||||
H.hud_used = new /datum/hud/monkey(H, ui_style2icon(H.client.prefs.UI_style), H.client.prefs.UI_style_color, H.client.prefs.UI_style_alpha)
|
||||
@@ -90,12 +89,11 @@
|
||||
H.name = H.real_name
|
||||
|
||||
if(H.hud_used)
|
||||
qdel(H.hud_used)
|
||||
H.hud_used = null
|
||||
QDEL_NULL(H.hud_used)
|
||||
|
||||
if(H.client)
|
||||
H.hud_used = new /datum/hud/human(H, ui_style2icon(H.client.prefs.UI_style), H.client.prefs.UI_style_color, H.client.prefs.UI_style_alpha)
|
||||
|
||||
to_chat(H, "<B>You are now a [H.species.name].</B>")
|
||||
|
||||
return H
|
||||
return H
|
||||
|
||||
Reference in New Issue
Block a user