From d009b4ef36b1348911f24abf2bc58377c2c0a3c0 Mon Sep 17 00:00:00 2001 From: i107760 <13422-i107760@users.noreply.gitgud.io> Date: Fri, 23 Oct 2020 23:12:28 +0200 Subject: [PATCH] crimeCap fix --- src/Mods/SecExp/securityReport.tw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mods/SecExp/securityReport.tw b/src/Mods/SecExp/securityReport.tw index b0d2b1bf76c..3cc7a8d6bf6 100644 --- a/src/Mods/SecExp/securityReport.tw +++ b/src/Mods/SecExp/securityReport.tw @@ -313,7 +313,7 @@ Due to the deterioration of the old world countries, organized crime focuses mor <</if>> /* crime cap */ -<<set _crimeCap = Math.trunc(Math.clamp(App.SecExp.Check.crimeCap() + (App.SecExp.Check.crimeCap() - App.SecExp.Check.crimeCap() * ($SecExp.buildings.secHub ? $SecExp.buildings.secHub.menials : 0 / App.SecExp.Check.reqMenials())), 0, 100))>> +<<set _crimeCap = Math.trunc(Math.clamp(App.SecExp.Check.crimeCap() + (App.SecExp.Check.crimeCap() - App.SecExp.Check.crimeCap() * (($SecExp.buildings.secHub ? $SecExp.buildings.secHub.menials : 0) / App.SecExp.Check.reqMenials())), 0, 100))>> <<if _crimeCap > App.SecExp.Check.crimeCap() && $SecExp.buildings.secHub>> The limited staff assigned to the HQ allows more space for criminals to act. <</if>> -- GitLab