mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
Fix typo and error in animation.lua
This commit is contained in:
parent
3fe8d2d3c5
commit
ebf27866ca
1 changed files with 1 additions and 2 deletions
|
@ -175,10 +175,9 @@ mobs.set_static_pitch = function(self)
|
||||||
local current_rotation = self.object:get_rotation()
|
local current_rotation = self.object:get_rotation()
|
||||||
|
|
||||||
current_rotation.x = 0
|
current_rotation.x = 0
|
||||||
current_rotation.z = 0
|
|
||||||
|
|
||||||
self.object:set_rotation(current_rotation)
|
self.object:set_rotation(current_rotation)
|
||||||
self.pitch_switchfdas = "static"
|
self.pitch_switch = "static"
|
||||||
end
|
end
|
||||||
|
|
||||||
--this is a helper function for mobs explosion animation
|
--this is a helper function for mobs explosion animation
|
||||||
|
|
Loading…
Reference in a new issue