.
This commit is contained in:
parent
5228bfdfa5
commit
4d94903563
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user