Constant for max player number

This commit is contained in:
foin137
2020-12-20 14:17:15 +01:00
parent 66d4663e52
commit 28697e7174
2 changed files with 2 additions and 1 deletions

View File

@@ -1645,7 +1645,7 @@ p#liste {
{
//Name gültig
//Finde eine freie ID
for ($i = 1; $i <= 50; $i++)
for ($i = 1; $i <= _MAXPLAYERS; $i++)
{
$res = $mysqli->Query("SELECT * FROM $spielID"."_spieler WHERE id = $i");
//echo "SELECT * FROM $spielID"."_spieler WHERE id = $i";