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

@ -8,12 +8,6 @@ init()
level.scoreInfo = []; level.scoreInfo = [];
level.xpScale = getDvarInt( "scr_xpscale" ); 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 = []; level.rankTable = [];
precacheShader("white"); precacheShader("white");