fix: undefined indexes

This commit is contained in:
Martin Ambrus
2017-11-01 21:35:24 +01:00
parent 396250f393
commit 041726fbd2
6 changed files with 22 additions and 15 deletions
+1
View File
@@ -1,6 +1,7 @@
<?php
$units = $database->getMovement(3,$village->wid,0);
$total_for = count($units);
$timer = 0;
for($y=0;$y<$total_for;$y++){
$timer += 1;