From d3c1fd970a7f0fb8f51873788ccf2c4570504605 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 18 Dec 2015 21:30:19 +0100 Subject: [PATCH] strikes --- src/arenas/Battleship/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arenas/Battleship/js.js b/src/arenas/Battleship/js.js index f68366c..7f0f8ff 100644 --- a/src/arenas/Battleship/js.js +++ b/src/arenas/Battleship/js.js @@ -29,7 +29,7 @@ function fight(xd_check){ document.getElementById('logs').innerHTML = 'erreur' +xhr.responseText; return; } - if( strike['target'] <> ''){ + if( strike['target'] !== ''){ var coords = strike['target'].split(","); document.getElementById( 'bot' + strike['opponent'] + '-' + coords[1] + '-' + coords[0]).innerHTML = "X"; }