mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:27:34 +00:00
fix: round damageTaken and healthRemaining
This commit is contained in:
parent
6c7e64a572
commit
e7f160df05
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user