Axel Nordh %!s(int64=6) %!d(string=hai) anos
pai
achega
521a52cfe8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dbFiles/NewOnlineGame.php

+ 1 - 1
dbFiles/NewOnlineGame.php

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