From 785a371871e0ee7be97a90136e5b290a46e03b3c Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Mon, 13 Nov 2017 19:04:24 +0100 Subject: [PATCH] fix: alleviating the bad math, which is impossible to quick-fix for me --- GameEngine/Automation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index 087c3f79..49119998 100755 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -1125,7 +1125,7 @@ class Automation { } // no damage to the building/field - if ( $tblevel >= $totallvl ) { + if ( $tblevel == $totallvl ) { $info_cata = " was not damaged."; } else // building/field damaged, damage calculations to follow {