Style: Break long line

This commit is contained in:
Lars Mueller 2020-10-11 14:06:43 +02:00
parent 78d358c6d7
commit 01b7c9604f

View file

@ -32,7 +32,8 @@ function player_api.register_model(name, def)
animation.collisionbox = animation.collisionbox or def.collisionbox animation.collisionbox = animation.collisionbox or def.collisionbox
for _, other_animation in pairs(def.animations) do for _, other_animation in pairs(def.animations) do
if other_animation._equals then if other_animation._equals then
if collisionbox_equals(animation.collisionbox, other_animation.collisionbox) and animation.eye_height == other_animation.eye_height then if collisionbox_equals(animation.collisionbox, other_animation.collisionbox)
and animation.eye_height == other_animation.eye_height then
animation._equals = other_animation._equals animation._equals = other_animation._equals
break break
end end