From 2aa1c3a65c951a938045880dad108d4e2ebfdc28 Mon Sep 17 00:00:00 2001 From: gnieark Date: Wed, 29 Jun 2016 00:43:20 +0200 Subject: [PATCH] . --- StupidIABattleship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StupidIABattleship.php b/StupidIABattleship.php index 00ae414..23f567a 100644 --- a/StupidIABattleship.php +++ b/StupidIABattleship.php @@ -213,7 +213,7 @@ switch($message['action']){ case "play-turn": //for debog arena - echo rand(0,$message['width'] -1).",".rand(0,$message['height'] -1); + echo rand(0,$message['board']['width'] -1).",".rand(0,$message['board']['height'] -1); die;