Explorar el Código

bytt till playerid iställer för playerName

Axel Nordh hace 6 años
padre
commit
4d40acbf18
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dbFiles/NewOnlineGame.php

+ 1 - 1
dbFiles/NewOnlineGame.php

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