mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-28 12:05:21 +09:00
Floored damage in DamagePopup
This commit is contained in:
@@ -36,7 +36,7 @@ Event.register(defines.events.on_entity_damaged, function(event)
|
||||
entity.surface.create_entity{
|
||||
name="flying-text",
|
||||
color=defines.textcolor.med,
|
||||
text='-'..damage,
|
||||
text='-'..math.floor(damage), -- cooldude2606 added floor for damage ammount
|
||||
position=entity.position
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user