mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Use math.floor instead of math.round
This commit is contained in:
parent
6d22262c53
commit
eccba76732
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ mcl_damage.register_modifier(function(obj, damage, reason)
|
|||
for i = 1, 4 do
|
||||
for c = 1, #particle_colors do
|
||||
minetest.add_particlespawner({
|
||||
amount = math.round(100/(4 * #particle_colors)),
|
||||
amount = math.floor(100 / (4 * #particle_colors)),
|
||||
time = 1,
|
||||
minpos = vector.offset(ppos, 0, -1, 0),
|
||||
maxpos = vector.offset(ppos, 0, 1, 0),
|
||||
|
|
Loading…
Reference in a new issue