From 1dbd290411c7142ebe2984cc1e928001c404db99 Mon Sep 17 00:00:00 2001 From: gnieark Date: Sun, 19 Jun 2016 23:02:36 +0200 Subject: [PATCH] . --- StupidIABattleship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StupidIABattleship.php b/StupidIABattleship.php index bcb3a2e..f6eb9d5 100644 --- a/StupidIABattleship.php +++ b/StupidIABattleship.php @@ -212,7 +212,7 @@ switch($message['action']){ case "fight": //for debog arena - echo rand(0,$_POST['width'] -1).",".rand(0,$_POST['height'] -1); + echo '{"play":"'.rand(0,$_POST['width'] -1).",".rand(0,$_POST['height'] -1).'"}'; die;