mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-03 00:47:19 +00:00
fix: undefined index
This commit is contained in:
@@ -6434,6 +6434,11 @@ References: User ID/Message ID, Mode
|
|||||||
if (!isset($movingunits['u' . (($vtribe - 1) * 10 + $i)])) {
|
if (!isset($movingunits['u' . (($vtribe - 1) * 10 + $i)])) {
|
||||||
$movingunits['u' . (($vtribe - 1) * 10 + $i)] = 0;
|
$movingunits['u' . (($vtribe - 1) * 10 + $i)] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($out['t' . $i])) {
|
||||||
|
$out['t' . $i] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
$movingunits['u' . (($vtribe - 1) * 10 + $i)] += $out['t' . $i];
|
$movingunits['u' . (($vtribe - 1) * 10 + $i)] += $out['t' . $i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user