From ced646821bf7f9617b38da1859b3c362f810dae0 Mon Sep 17 00:00:00 2001 From: DGamerL <108773801+DGamerL@users.noreply.github.com> Date: Mon, 10 Jul 2023 17:00:32 +0200 Subject: [PATCH] Fixes an issue with bot comms (#21621) * the fix * whoopsie --- code/modules/mob/living/simple_animal/bot/bot_construction.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/bot/bot_construction.dm b/code/modules/mob/living/simple_animal/bot/bot_construction.dm index 4bf3335c2c3..9b1c47f2185 100644 --- a/code/modules/mob/living/simple_animal/bot/bot_construction.dm +++ b/code/modules/mob/living/simple_animal/bot/bot_construction.dm @@ -311,7 +311,7 @@ ..() if(istype(W, /obj/item/robot_parts/l_arm) || istype(W, /obj/item/robot_parts/r_arm)) qdel(W) - var/mob/living/simple_animal/bot/floorbot/A = new(drop_location(), toolbox_color) + var/mob/living/simple_animal/bot/floorbot/A = new(get_turf(src), toolbox_color) A.name = created_name A.robot_arm = W.type to_chat(user, "You add the robot arm to the odd looking toolbox assembly. Boop beep!")