Merge pull request #7 from ItsStev/damage-feed

moving variable, to ensure objects (above head) will show correctly
This commit is contained in:
Lorenc Pekaj 2019-05-31 09:11:25 +10:00 committed by GitHub
commit 8843a3854d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,10 +221,11 @@ public OnPlayerTakenDamage( playerid, issuerid, Float: amount, weaponid, bodypar
SetTimerEx( "HideDamageObject", 1000, false, "d", playerid );
}
}
// mark player as hit
p_GotHit{ playerid } = true;
}
}
/* ** Hitmarker ** */
DamageFeedAddHitGiven( issuerid, playerid, amount, weaponid );