This commit is contained in:
Gnieark 2016-07-04 08:04:04 +02:00
parent 5228bfdfa5
commit 4d94903563

View File

@ -44,10 +44,10 @@ switch($params['action']){
}
if(count($availablesDirs) == 0){
echo '{"play":"x+","comment":"I Loose"}';
echo '{"play":"x+","comment":"I Loose'.$myCoords.'"}';
}else{
shuffle($availablesDirs);
echo '{"play":"'.$availablesDirs[0].'","comment":"I Loose"}';
echo '{"play":"'.$availablesDirs[0].'"}';
}
break;