MULEBOT AI CALL Fix (#24479)

* test

* I hate mulebot

* no need to change this apparently

* INVOKE Begone, no change noticed
This commit is contained in:
Deniz
2024-03-07 11:03:36 +00:00
committed by GitHub
parent e492a27c24
commit aa5d68bf38
2 changed files with 5 additions and 2 deletions
@@ -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
@@ -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)