do not deduct seasonal xp from sales (needs test)
This commit is contained in:
parent
ec2fff0b89
commit
dbb33102db
@ -362,8 +362,8 @@ stock GivePlayerExperience( playerid, E_LEVELS: level, Float: default_xp = 1.0,
|
|||||||
SetPlayerProgressBarValue( playerid, p_playerExpProgress[ playerid ], progress );
|
SetPlayerProgressBarValue( playerid, p_playerExpProgress[ playerid ], progress );
|
||||||
}
|
}
|
||||||
|
|
||||||
// seasonal
|
// seasonal (only adds, not including removes)
|
||||||
if ( default_xp ) GivePlayerSeasonalXP( playerid, xp_earned );
|
if ( xp_earned > 0.0 ) GivePlayerSeasonalXP( playerid, xp_earned );
|
||||||
|
|
||||||
// alert user
|
// alert user
|
||||||
KillTimer( p_playerExpHideTimer[ playerid ] );
|
KillTimer( p_playerExpHideTimer[ playerid ] );
|
||||||
|
Loading…
Reference in New Issue
Block a user