From a906f673b4fc76e1ef600493bbcd0d962a675f28 Mon Sep 17 00:00:00 2001 From: iopietro Date: Wed, 11 Apr 2018 00:18:58 +0200 Subject: [PATCH] A little forgetfulness --- GameEngine/Automation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index e7036c19..f14e6498 100755 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -4963,7 +4963,7 @@ class Automation { } } - // if the player has no troops, then exit from the function + // if the player has no troops, then continue to the next value in the foreach if(empty($starvingTroops)) continue; $tribe = $database->getUserField($starv['owner'], "tribe", 0);