mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-10 06:36:07 +00:00
Fixed a bug in the troops training
If the speed of the server is very high and the single troop training time is 0, you can now train troops instantly.
This commit is contained in:
@@ -6113,9 +6113,7 @@ References: User ID/Message ID, Mode
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( $each == 0 ) {
|
||||
$each = 1;
|
||||
}
|
||||
|
||||
$time2 = $now + $each;
|
||||
if ( count( $queued ) > 0 ) {
|
||||
$time += $queued[ count( $queued ) - 1 ]['timestamp'] - $now;
|
||||
|
||||
Reference in New Issue
Block a user