php cant do that

This commit is contained in:
Gnieark 2016-06-30 14:59:02 +02:00
parent b0403924eb
commit 60d77845cd

View File

@ -29,7 +29,7 @@ switch ($_POST['act']){
}while(in_array($x.",".$y,$positions));
$positions[] = $x.",".$y;
$bots[$botCount] = new TronPlayer($bot['id'],500,10,'y+');
$bots[$botCount] = new TronPlayer($botId,$x,$y,'y+');
if ($bots[$botCount]->getStatus() === false){
unset($bots[$botCount]);