This commit is contained in:
Damen 2019-04-17 19:13:59 -04:00
commit d4ec561a8a

View File

@ -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 ] );