A little forgetfulness

This commit is contained in:
iopietro
2018-04-11 00:18:58 +02:00
parent 8b3a387cd5
commit a906f673b4
+1 -1
View File
@@ -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; if(empty($starvingTroops)) continue;
$tribe = $database->getUserField($starv['owner'], "tribe", 0); $tribe = $database->getUserField($starv['owner'], "tribe", 0);