Skip to content

Commit

Permalink
Update getGJScores.php
Browse files Browse the repository at this point in the history
  • Loading branch information
foxodever authored Aug 25, 2021
1 parent 6f3e51c commit 2c808e0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions incl/scores/getGJScores.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
$query = "SELECT * FROM users WHERE isBanned = '0' AND gameVersion $sign AND stars > 0 ORDER BY stars DESC LIMIT 100";
}
if($type == "creators"){
$query = "SELECT * FROM users WHERE isCreatorBanned = '0' ORDER BY creatorPoints DESC LIMIT 100";
$query = "SELECT * FROM users WHERE isCreatorBanned = '0' AND creatorPoints > 0 ORDER BY creatorPoints DESC LIMIT 100";
}
if($type == "relative"){
$query = "SELECT * FROM users WHERE extID = :accountID";
Expand Down Expand Up @@ -137,8 +137,12 @@
}
}
if($lbstring == ""){
exit("-1");
if($date == "01-04"){
$lbstring .= "1:No players in top:2:0:13:0:17:0:6:10:9:9:10:9:11:8:14:1:15:3:16:sadsadod4:3:0:8:0:4:0:7:sadsadod4:46:0|";
}else{
$lbstring .= "1:No players in top:2:0:13:0:17:0:6:1:9:1:10:1:11:1:14:1:15:1:16:sadsadod4:3:0:8:0:4:0:7:sadsadod4:46:0|";
}
}
$lbstring = substr($lbstring, 0, -1);
echo $lbstring;
?>
?>

0 comments on commit 2c808e0

Please sign in to comment.