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), ["victim"] = gmInte.getPlayerFormat(ply),
["attacker"] = gmInte.getPlayerFormat(attacker), ["attacker"] = gmInte.getPlayerFormat(attacker),
["healthRemaining"] = healthRemaining, ["healthRemaining"] = math.Round(healthRemaining),
["damageTaken"] = ply.gmodInteTotalDamage ["damageTaken"] = math.Round(damageTaken)
} }
) )
end) end)