Fixes multisurgery

This commit is contained in:
Cyantime
2018-01-19 23:26:56 -05:00
parent 93b4df4517
commit a5cb20a820

View File

@@ -128,9 +128,9 @@
// Not staying still fails you too.
if(success)
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
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)
S.end_step(user, M, zone, src)