Axel Nordh il y a 6 ans
Parent
commit
521a52cfe8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      dbFiles/NewOnlineGame.php

+ 1 - 1
dbFiles/NewOnlineGame.php

@@ -42,7 +42,7 @@
             "$limitPerQuestion, " .
             "$limitPerPlayer, " .
             "$playerCount, " .
-            "$playerIds," .
+            "(SELECT id FROM users WHERE id IN ($playerIds) ORDER BY RAND() LIMIT 1), " .
             "1, " .
             "NOW())";