From 60d77845cda548e65d3752b032d4b7192e715129 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Thu, 30 Jun 2016 14:59:02 +0200 Subject: [PATCH] php cant do that --- src/arenas/tron/act.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arenas/tron/act.php b/src/arenas/tron/act.php index c28cde9..978198b 100644 --- a/src/arenas/tron/act.php +++ b/src/arenas/tron/act.php @@ -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]);