diff --git a/Classic/scripts/DMGame.cs b/Classic/scripts/DMGame.cs index 2d82189..0d97157 100644 --- a/Classic/scripts/DMGame.cs +++ b/Classic/scripts/DMGame.cs @@ -188,7 +188,12 @@ function DMGame::AIHasJoined(%game, %client) function DMGame::checkScoreLimit(%game, %client) { - //there's no score limit in DM + %scoreLimit = MissionGroup.DM_scoreLimit; + + if(%scoreLimit $= "") + %scoreLimit = 50; + if(%client.score >= %scoreLimit) + %game.scoreLimitReached(); } function DMGame::createPlayer(%game, %client, %spawnLoc, %respawn)