Fixed a Bug Where Roundstart Rules Cost Double

This commit is contained in:
Kurfursten
2019-02-18 19:20:33 -06:00
committed by GitHub
parent 83a19cb94f
commit 64dc6b6e75

View File

@@ -211,7 +211,6 @@ var/list/threat_by_job = list(
message_admins("Delayed ruleset, with a delay of [starting_rule:delay/10] seconds.")
return pick_delay(starting_rule)
threat = max(0,threat-starting_rule.cost)
spend_threat(starting_rule.cost)
threat_log += "[worldtime2text()]: [starting_rule.name] spent [starting_rule.cost]"
if (starting_rule.execute())//this should never fail since ready() returned 1