mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Uses more QDEL_NULLs
This commit is contained in:
@@ -44,8 +44,7 @@
|
||||
|
||||
/mob/living/carbon/human/proc/remake_hud() //used for preference changes mid-round; can't change hud icons without remaking the hud.
|
||||
if(hud_used)
|
||||
qdel(hud_used)
|
||||
hud_used = null
|
||||
QDEL_NULL(hud_used)
|
||||
create_mob_hud()
|
||||
if(hud_used)
|
||||
hud_used.show_hud(hud_used.hud_version)
|
||||
|
||||
Reference in New Issue
Block a user