changed timer durations based on ticks

This commit is contained in:
Steven Howard 2018-10-11 16:44:11 +01:00
parent 110458523d
commit f179841d38

View File

@ -284,7 +284,7 @@ stock UpdateDamageFeed( playerid, bool: modified = false )
if ( ( szTick - p_lastFeedUpdate[ playerid ] ) < MAX_UPDATE_RATE && modified )
{
p_damageFeedTimer[ playerid ] = SetTimerEx( "OnPlayerFeedUpdate", MAX_UPDATE_RATE - ( szTick - lowest_tick ) + 10, false, "d", playerid );
p_damageFeedTimer[ playerid ] = SetTimerEx( "OnPlayerFeedUpdate", MAX_UPDATE_RATE - ( szTick - p_lastFeedUpdate[ playerid ] ) + 10, false, "d", playerid );
}
else
{