mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Fixes multisurgery
This commit is contained in:
@@ -128,9 +128,9 @@
|
|||||||
// Not staying still fails you too.
|
// Not staying still fails you too.
|
||||||
if(success)
|
if(success)
|
||||||
var/calc_duration = rand(S.min_duration, S.max_duration)
|
var/calc_duration = rand(S.min_duration, S.max_duration)
|
||||||
if(!do_mob(user, M, calc_duration * toolspeed))
|
if(!do_mob(user, M, calc_duration * toolspeed, zone))
|
||||||
success = FALSE
|
success = FALSE
|
||||||
to_chat(user, "<span class='warning'>You must remain close to your patient to conduct surgery.</span>")
|
to_chat(user, "<span class='warning'>You must remain close to and keep focused on your patient to conduct surgery.</span>")
|
||||||
|
|
||||||
if(success)
|
if(success)
|
||||||
S.end_step(user, M, zone, src)
|
S.end_step(user, M, zone, src)
|
||||||
|
|||||||
Reference in New Issue
Block a user