From a68bc96db9ff484492828c16eafd6c7d35b1c69c Mon Sep 17 00:00:00 2001 From: efinst0rm Date: Wed, 15 May 2024 12:29:49 -0500 Subject: [PATCH] fix: Removed hardcoded max xpScale. --- iw4x/iw4x_00/maps/mp/gametypes/_rank.gsc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/iw4x/iw4x_00/maps/mp/gametypes/_rank.gsc b/iw4x/iw4x_00/maps/mp/gametypes/_rank.gsc index 7b42ff4..e839bb9 100644 --- a/iw4x/iw4x_00/maps/mp/gametypes/_rank.gsc +++ b/iw4x/iw4x_00/maps/mp/gametypes/_rank.gsc @@ -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 ); -} \ No newline at end of file +}