diff --git a/code/modules/mob/living/simple_animal/bot/bot.dm b/code/modules/mob/living/simple_animal/bot/bot.dm index 1dbf4a1c62f..284f680dfe2 100644 --- a/code/modules/mob/living/simple_animal/bot/bot.dm +++ b/code/modules/mob/living/simple_animal/bot/bot.dm @@ -681,6 +681,8 @@ Pass a positive integer as an argument to override a bot's default speed. reset_access_timer_id = null set_path(null) ignore_job.Cut() + new_destination = null + destination = null last_target_location = null lost_target = FALSE summon_target = null diff --git a/code/modules/mob/living/simple_animal/bot/mulebot.dm b/code/modules/mob/living/simple_animal/bot/mulebot.dm index 9a11143d804..6036614248d 100644 --- a/code/modules/mob/living/simple_animal/bot/mulebot.dm +++ b/code/modules/mob/living/simple_animal/bot/mulebot.dm @@ -479,8 +479,9 @@ diag_hud_set_botmode() if(!has_power()) - on = FALSE + turn_off() return + if(!on) return @@ -607,7 +608,7 @@ /mob/living/simple_animal/bot/mulebot/proc/start_home() if(!on) return - INVOKE_ASYNC(src, PROC_REF(do_start_home)) + do_start_home() /mob/living/simple_animal/bot/mulebot/proc/do_start_home() set_destination(home_destination)