Fixed a bug in the troops training

Troops can now be trained in 0 seconds.
This commit is contained in:
Pietro
2018-04-05 03:05:57 +02:00
committed by GitHub
parent aec41019e9
commit 02d79777f1
12 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ for($i=45;$i<=46;$i++) {
}
}
$dur=$generator->getTimeFormat($dur);
echo ($dur=="0:00:00")? "0:00:01":$dur;
echo $dur;
echo "</div></td>
<td class=\"val\">
<input type=\"text\" class=\"text\" name=\"t$i\" value=\"0\" maxlength=\"10\">