This commit is contained in:
Gnieark 2016-07-04 22:46:34 +02:00
parent 0807381d32
commit 697395fe60

View File

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