catching up (#2)

* fix: all languages added to installer

* fix: all languages added to installer and Admin

* fix: max crop/resources reset to level 1 value temporarily

This happened when level 1 granary / warehouse was built because of
a missing + sign in a formula.

#374

* chore: some more badges and thanks to JetBrains :)

* chore: one more badge :P

* chore: cleanup

* fix: Multihunter should have access to villages info

* fix: troops duplicate for certain tribes via raid lists
This commit is contained in:
Martin Ambrus
2017-11-30 20:12:59 +01:00
committed by GitHub
parent 64b0429325
commit 6fb38ebca1
8 changed files with 24 additions and 140 deletions
+8 -2
View File
@@ -128,8 +128,14 @@
$modes = [];
for ( $u = 1; $u <= 10; $u ++ ) {
$units[] = $uname2 . ($u < 10 ? $u : 0);
$amounts[] = $data[ 'u' . ($u < 10 ? $u : 0) ];
if ($tribe == 1) {
$unitKey = $uname2 . $u;
} else {
$unitKey = $uname2 . ($u < 10 ? $u : 0);
}
$units[] = $uname2 . $unitKey;
$amounts[] = $data[ 'u' . $unitKey ];
$modes[] = 0;
}