Merge pull request #7655 from VOREStation/aro-doingafter

Make some progress bar activities exclusive
This commit is contained in:
Aronai Sieyes
2020-05-05 19:47:08 -04:00
committed by GitHub
9 changed files with 86 additions and 37 deletions
+2
View File
@@ -230,3 +230,5 @@
var/attack_icon_state //State for above
var/registered_z
var/list/progressbars = null //for stacking do_after bars
+1 -1
View File
@@ -162,7 +162,7 @@
// 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, zone))
if(!do_mob(user, M, calc_duration * toolspeed, zone, exclusive = TRUE))
success = FALSE
to_chat(user, "<span class='warning'>You must remain close to and keep focused on your patient to conduct surgery.</span>")