mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-14 04:02:07 +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()
|
||||
. = ..()
|
||||
QDEL_NULL(minihuds)
|
||||
QDEL_NULL_LIST(minihuds)
|
||||
grab_intent = null
|
||||
hurt_intent = null
|
||||
disarm_intent = null
|
||||
@@ -214,7 +214,9 @@ var/global/list/global_huds = list(
|
||||
other = null
|
||||
hotkeybuttons = 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
|
||||
|
||||
/datum/hud/proc/hidden_inventory_update()
|
||||
|
||||
Reference in New Issue
Block a user