fix: Removed hardcoded max xpScale.

pull/26/head
efinst0rm 2024-05-15 12:29:49 -05:00 committed by GitHub
parent b1e0774bb8
commit a68bc96db9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 7 deletions

View File

@ -7,12 +7,6 @@ init()
{
level.scoreInfo = [];
level.xpScale = getDvarInt( "scr_xpscale" );
if ( level.xpScale > 4 || level.xpScale < 0)
exitLevel( false );
level.xpScale = min( level.xpScale, 4 );
level.xpScale = max( level.xpScale, 0 );
level.rankTable = [];
@ -760,4 +754,4 @@ syncXPStat()
xp = self getRankXP();
self maps\mp\gametypes\_persistence::statSet( "experience", xp );
}
}