From 82be7684796748dba51a7e8e3ee53aba620b8180 Mon Sep 17 00:00:00 2001 From: lowercase-donkey <lowercasedonkey@gmail.com> Date: Sat, 16 Mar 2019 02:38:33 -0400 Subject: [PATCH] order of operations --- src/uncategorized/clinicReport.tw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uncategorized/clinicReport.tw b/src/uncategorized/clinicReport.tw index 61d23fbbe0b..89c54131d0c 100644 --- a/src/uncategorized/clinicReport.tw +++ b/src/uncategorized/clinicReport.tw @@ -258,7 +258,7 @@ <<set $slaves[$i].pregControl = "speed up">> <</if>> <<if ($slaves[$i].chem > 10) && ($clinicUpgradeFilters == 1)>> - <<set $slaves[$i].chem -= 5 + (50 * $clinicUpgradePurge)>> + <<set $slaves[$i].chem -= (5 + (50 * $clinicUpgradePurge))>> <<if $clinicUpgradePurge == 1 && $slaves[$i].health > -50>> <<set $slaves[$i].health = -50>> <</if>> -- GitLab