Merge 14da85a4b5 into 38696ab9ee
commit
9119d42914
|
|
@ -7,11 +7,7 @@ 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.xpScale = max( level.xpScale, 0 );
|
||||||
|
|
||||||
level.rankTable = [];
|
level.rankTable = [];
|
||||||
|
|
@ -760,4 +756,4 @@ syncXPStat()
|
||||||
xp = self getRankXP();
|
xp = self getRankXP();
|
||||||
|
|
||||||
self maps\mp\gametypes\_persistence::statSet( "experience", xp );
|
self maps\mp\gametypes\_persistence::statSet( "experience", xp );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue