POLARIS: Fix several Destroy()s

This commit is contained in:
Arokha Sieyes
2018-02-20 00:20:46 -05:00
parent d498beffdb
commit 0c0f09fe68
7 changed files with 71 additions and 42 deletions

View File

@@ -22,8 +22,10 @@
/datum/progressbar/Destroy()
if (client)
client.images -= bar
qdel(bar)
. = ..()
qdel_null(bar)
user = null
client = null
return ..()
/datum/progressbar/proc/update(progress)
//world << "Update [progress] - [goal] - [(progress / goal)] - [((progress / goal) * 100)] - [round(((progress / goal) * 100), 5)]"