fix: Removed hardcoded max xpScale.
parent
b1e0774bb8
commit
a68bc96db9
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue