mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-14 12:12:37 +00:00
Merge pull request #8975 from Seris02/gunqdelfix
fixes a runtime in huds deleting and the gun deletion on login issue
This commit is contained in:
@@ -196,7 +196,7 @@ var/global/list/global_huds = list(
|
|||||||
|
|
||||||
/datum/hud/Destroy()
|
/datum/hud/Destroy()
|
||||||
. = ..()
|
. = ..()
|
||||||
QDEL_NULL(minihuds)
|
QDEL_NULL_LIST(minihuds)
|
||||||
grab_intent = null
|
grab_intent = null
|
||||||
hurt_intent = null
|
hurt_intent = null
|
||||||
disarm_intent = null
|
disarm_intent = null
|
||||||
@@ -214,7 +214,9 @@ var/global/list/global_huds = list(
|
|||||||
other = null
|
other = null
|
||||||
hotkeybuttons = null
|
hotkeybuttons = null
|
||||||
// item_action_list = null // ?
|
// item_action_list = null // ?
|
||||||
QDEL_LIST(ammo_hud_list)
|
for (var/x in ammo_hud_list)
|
||||||
|
remove_ammo_hud(mymob, x)
|
||||||
|
ammo_hud_list = null
|
||||||
mymob = null
|
mymob = null
|
||||||
|
|
||||||
/datum/hud/proc/hidden_inventory_update()
|
/datum/hud/proc/hidden_inventory_update()
|
||||||
|
|||||||
Reference in New Issue
Block a user