Moves creating tag before intialization (#34512)

* Moves creating tag before intialization

* Two nukes for price of one.

* coord
This commit is contained in:
AnturK
2018-01-19 15:40:40 +01:00
committed by CitadelStationBot
parent c6f227fc18
commit 6354c6eec5
3 changed files with 17 additions and 9 deletions
+3 -1
View File
@@ -20,7 +20,6 @@
return QDEL_HINT_HARDDEL
/mob/Initialize()
tag = "mob_[next_mob_id++]"
GLOB.mob_list += src
GLOB.mob_directory[tag] = src
if(stat == DEAD)
@@ -37,6 +36,9 @@
hook_vr("mob_new",list(src))
. = ..()
/mob/GenerateTag()
tag = "mob_[next_mob_id++]"
/atom/proc/prepare_huds()
hud_list = list()
for(var/hud in hud_possible)