From a607130e3cd8283758baa1ac68fe89836d332940 Mon Sep 17 00:00:00 2001 From: timothyteakettle <59849408+timothyteakettle@users.noreply.github.com> Date: Wed, 22 Jul 2020 16:24:35 +0100 Subject: [PATCH] please compile --- .../mob/living/simple_animal/bot/secbot.dm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/code/modules/mob/living/simple_animal/bot/secbot.dm b/code/modules/mob/living/simple_animal/bot/secbot.dm index cec25f50c0..e0d65b13da 100644 --- a/code/modules/mob/living/simple_animal/bot/secbot.dm +++ b/code/modules/mob/living/simple_animal/bot/secbot.dm @@ -259,30 +259,30 @@ Auto Patrol: []"}, return /mob/living/simple_animal/bot/secbot/proc/attempt_place_on_head(mob/user, obj/item/I) - if(user && !user.temporarilyRemoveItemFromInventory(H)) - to_chat(user, "\The [H] is stuck to your hand, you cannot put it on [src]'s head!") + if(user && !user.temporarilyRemoveItemFromInventory(I)) + to_chat(user, "\The [I] is stuck to your hand, you cannot put it on [src]'s head!") return if(bot_accessory) to_chat("\[src] already has an accessory, and the laws of physics disallow him from wearing a second!") return - if(istype(I, /obj/item/clothing/head) + if(istype(I, /obj/item/clothing/head)) var/obj/item/clothing/head/H = I if(H.beepsky_fashion) stored_fashion = new H.beepsky_fashion else //it must be a mask var/obj/item/clothing/mask/M = I - if(M.beepsky_fashion) - stored_fashion = new M.beepsky_fashion + if(M.beepsky_fashion) + stored_fashion = new M.beepsky_fashion if(stored_fashion) to_chat(user, "You set [I] on [src].") - bot_accessory = H - H.forceMove(src) + bot_accessory = I + I.forceMove(src) stored_fashion.apply(src) regenerate_icons() else - to_chat(user, "You set [H] on [src]'s head, but it falls off!") - H.forceMove(drop_location()) + to_chat(user, "You set [I] on [src]'s head, but it falls off!") + I.forceMove(drop_location()) /mob/living/simple_animal/bot/secbot/regenerate_icons() ..() @@ -468,7 +468,6 @@ Auto Patrol: []"}, look_for_perp() bot_patrol() - return /mob/living/simple_animal/bot/secbot/proc/back_to_idle()