Cleans up some qdel(src)'s in Initialize()

This commit is contained in:
ShizCalev
2017-11-26 20:15:18 -06:00
committed by CitadelStationBot
parent 4eb9e28fb4
commit 5abd1bcdd9
14 changed files with 53 additions and 15 deletions
@@ -800,7 +800,7 @@ Pass a positive integer as an argument to override a bot's default speed.
. = ..()
owner = loc
if(!istype(owner))
qdel(src)
return INITIALIZE_HINT_QDEL
/mob/living/simple_animal/bot/proc/topic_denied(mob/user) //Access check proc for bot topics! Remember to place in a bot's individual Topic if desired.
if(!user.canUseTopic(src))
@@ -310,7 +310,7 @@
P.gender = MALE
P.desc = "It's the HoP's beloved corgi puppy."
Write_Memory(FALSE)
qdel(src)
return INITIALIZE_HINT_QDEL
else if(age == record_age)
icon_state = "old_corgi"
icon_living = "old_corgi"