Fixes cyborgs being perfect surgeons (#21749)

* Fixes borgs being perfect surgeons

* Replace an outdated tip with an actual tip
This commit is contained in:
Nathan Winters
2023-07-24 15:59:51 +02:00
committed by GitHub
parent f55434752c
commit 67f8814c5a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -191,7 +191,7 @@
/// Do we require any of the needed chems, or all of them?
var/require_all_chems = TRUE
/// Whether silicons ignore any probabilities (and are therefore "perfect" surgeons)
var/silicons_obey_prob = FALSE
var/silicons_ignore_prob = FALSE
/// How many times this step has been automatically repeated.
var/times_repeated = 0
@@ -359,7 +359,7 @@
var/step_result
if((prob(prob_success) || isrobot(user) && !silicons_obey_prob) && chem_check_result && !try_to_fail)
if((prob(prob_success) || silicons_ignore_prob && isrobot(user)) && chem_check_result && !try_to_fail)
step_result = end_step(user, target, target_zone, tool, surgery)
else
step_result = fail_step(user, target, target_zone, tool, surgery)