mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 14:21:03 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user