From f49c2cf18cde337ec4a0fd842e64da0197e29ee8 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Thu, 30 Mar 2017 16:24:58 -0400 Subject: [PATCH] Fixes secbots being instantiated in nullspace --- code/modules/mob/living/simple_animal/bot/construction.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/mob/living/simple_animal/bot/construction.dm b/code/modules/mob/living/simple_animal/bot/construction.dm index 73bf7bac3bb..95e62a556d3 100644 --- a/code/modules/mob/living/simple_animal/bot/construction.dm +++ b/code/modules/mob/living/simple_animal/bot/construction.dm @@ -419,8 +419,7 @@ return build_step++ to_chat(user, "You complete the Securitron! Beep boop.") - var/mob/living/simple_animal/bot/secbot/S = new /mob/living/simple_animal/bot/secbot - S.loc = get_turf(src) + var/mob/living/simple_animal/bot/secbot/S = new /mob/living/simple_animal/bot/secbot(get_turf(src)) S.name = created_name S.baton_type = I.type qdel(I)