fix: round damageTaken and healthRemaining

This commit is contained in:
Linventif 2024-07-05 19:53:39 +00:00
parent 6c7e64a572
commit e7f160df05

View File

@ -85,8 +85,8 @@ function gmInte.postLogPlayerHurt(ply, attacker, healthRemaining, damageTaken)
{
["victim"] = gmInte.getPlayerFormat(ply),
["attacker"] = gmInte.getPlayerFormat(attacker),
["healthRemaining"] = healthRemaining,
["damageTaken"] = ply.gmodInteTotalDamage
["healthRemaining"] = math.Round(healthRemaining),
["damageTaken"] = math.Round(damageTaken)
}
)
end)