From d2554b3ca950ad69c67e1be1c6b467c018798b53 Mon Sep 17 00:00:00 2001 From: quotefox <49098813+quotefox@users.noreply.github.com> Date: Sat, 2 Nov 2019 06:23:58 +0000 Subject: [PATCH] Fix for bot, patrol was broken. (removed the code by accident) --- code/modules/mob/living/simple_animal/bot/bot.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/simple_animal/bot/bot.dm b/code/modules/mob/living/simple_animal/bot/bot.dm index b0826b86..68995702 100644 --- a/code/modules/mob/living/simple_animal/bot/bot.dm +++ b/code/modules/mob/living/simple_animal/bot/bot.dm @@ -807,6 +807,8 @@ Pass a positive integer as an argument to override a bot's default speed. switch(href_list["operation"]) if("patrol") + auto_patrol = !auto_patrol + bot_reset() if(!issilicon(usr) && !IsAdminGhost(usr) && !(bot_core.allowed(usr) || !locked)) return TRUE if("remote")