From aff0657d6ebcc425789cd52a2f09311f928d77f6 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Wed, 29 Jun 2016 17:02:24 +0200 Subject: [PATCH] try to draw 1000*1000 svg grig --- src/arenas/tron/act.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arenas/tron/act.php b/src/arenas/tron/act.php index 87fdafe..5c2be93 100644 --- a/src/arenas/tron/act.php +++ b/src/arenas/tron/act.php @@ -23,11 +23,11 @@ switch ($_POST['act']){ $bot2Exists = false; foreach($bots as $bot){ if($bot['id'] == $_POST['bot1']){ - $_SESSION['bots'][]=new TronPlayer($bot['id'],1,1); + $_SESSION['bots'][]=new TronPlayer($bot['id'],500,10,'y+'); $bot1Exists =true; } if($bot['id'] == $_POST['bot2']){ - $_SESSION['bots'][]=new TronPlayer($bot['id'],998,998); + $_SESSION['bots'][]=new TronPlayer($bot['id'],500,989,'y-'); $bot2Exists =true; } if ($bot1Exists && $bot2Exists){