fix php loop

This commit is contained in:
Gnieark 2015-12-14 23:14:00 +01:00
parent 0eab319240
commit 254fd4e077

View File

@ -99,8 +99,8 @@ switch ($_POST['act']){
}
//init grid
for($y = 0; $y < $height){
for($x = 0; $x < $width){
for($y = 0; $y < $height; $y++){
for($x = 0; $x < $width; $x++){
$grid[$player][$y][$x]=0;
}
}