php cant do that
This commit is contained in:
parent
b0403924eb
commit
60d77845cd
|
@ -29,7 +29,7 @@ switch ($_POST['act']){
|
||||||
}while(in_array($x.",".$y,$positions));
|
}while(in_array($x.",".$y,$positions));
|
||||||
|
|
||||||
$positions[] = $x.",".$y;
|
$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){
|
if ($bots[$botCount]->getStatus() === false){
|
||||||
unset($bots[$botCount]);
|
unset($bots[$botCount]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user