This commit is contained in:
Gnieark 2016-06-13 16:13:30 +02:00
parent a75d70520e
commit 4c09ef6ab1

View File

@ -125,7 +125,7 @@ switch($params['action']){
//find $opponent //find $opponent
for($x = 0; $x < 7 ; $x++){ for($x = 0; $x < 7 ; $x++){
for($y = 0; $y < 6 ; $y++){ for($y = 0; $y < 6 ; $y++){
if($params['board'][$y][$x] <> " " ) && ($params['board'][$y][$x] <> $params['you'] ){ if(($params['board'][$y][$x] <> " " ) && ($params['board'][$y][$x] <> $params['you'] )){
$opponent= $params['board'][$y][$x]; $opponent= $params['board'][$y][$x];
} }
} }