diff --git a/src/Mods/SecExp/buildings/riotControlCenter.tw b/src/Mods/SecExp/buildings/riotControlCenter.tw index cda93a33c47dd7e9e3c04ca6930c1cf65d8e73d3..7715451ee439c1fa1a1c53e2faf09a085398cf41 100644 --- a/src/Mods/SecExp/buildings/riotControlCenter.tw +++ b/src/Mods/SecExp/buildings/riotControlCenter.tw @@ -199,7 +199,8 @@ The riot control center opens its guarded doors to you. The great chamber inside <<if $SecExp.edicts.SFSupportLevel >= 4 && $SF.Squad.Armoury >= 8 && !$SecExp.rebellions.sfArmor>> <<set _cost = Math.ceil(500000*App.SF.env()*(1.15+($SF.Squad.Armoury/10)))>> <<link "Give the riot unit access to the combat armor suits of $SF.Lower.""riotControlCenter">> - <<set $SecExp.rebellions.sfArmor = 1, cashX(-_cost), "capEx")>> + <<set $SecExp.rebellions.sfArmor = 1>> + <<run cashX((-_cost), "capEx")>> <</link>> //Costs <<print cashFormat(_cost)>> <<else>>