do not deduct seasonal xp from sales (needs test)

This commit is contained in:
Lorenc Pekaj 2019-04-15 13:41:20 +10:00 committed by GitHub
parent ec2fff0b89
commit dbb33102db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -362,8 +362,8 @@ stock GivePlayerExperience( playerid, E_LEVELS: level, Float: default_xp = 1.0,
SetPlayerProgressBarValue( playerid, p_playerExpProgress[ playerid ], progress );
}
// seasonal
if ( default_xp ) GivePlayerSeasonalXP( playerid, xp_earned );
// seasonal (only adds, not including removes)
if ( xp_earned > 0.0 ) GivePlayerSeasonalXP( playerid, xp_earned );
// alert user
KillTimer( p_playerExpHideTimer[ playerid ] );