mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 04:37:45 +01:00
[MIRROR] Axes do_mob and replaces with do_after (#11938)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
9645b165d5
commit
e61bebfbb3
@@ -223,7 +223,7 @@
|
||||
// Get our AI to stay still.
|
||||
set_AI_busy(TRUE)
|
||||
|
||||
if(!do_mob(src, T, 5 SECONDS))
|
||||
if(!do_after(src, 5 SECONDS, T))
|
||||
set_AI_busy(FALSE)
|
||||
to_chat(src, span_warning("You need to stay still to spin a web on \the [T]."))
|
||||
return FALSE
|
||||
@@ -269,7 +269,7 @@
|
||||
// Get our AI to stay still.
|
||||
set_AI_busy(TRUE)
|
||||
|
||||
if(!do_mob(src, T, 5 SECONDS))
|
||||
if(!do_after(src, 5 SECONDS, T))
|
||||
set_AI_busy(FALSE)
|
||||
to_chat(src, span_warning("You need to stay still to spin a web on \the [T]."))
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user