forked from MineClone5/MineClone5
moved identetion of debug_head variable
This commit is contained in:
parent
384e5ece67
commit
3a77a97e2d
|
@ -5,7 +5,8 @@ local vector = vector
|
||||||
local degrees = function(yaw)
|
local degrees = function(yaw)
|
||||||
return yaw*180.0/math.pi
|
return yaw*180.0/math.pi
|
||||||
end
|
end
|
||||||
local debug_head = minetest.settings:get_bool("mcl_debug_head_code", false)
|
|
||||||
|
local debug_head = minetest.settings:get_bool("mcl_debug_head_code", false)
|
||||||
mobs.do_head_logic = function(self, dtime, player)
|
mobs.do_head_logic = function(self, dtime, player)
|
||||||
if not self.has_head == true then return end
|
if not self.has_head == true then return end
|
||||||
local player = player or minetest.get_player_by_name("singleplayer")
|
local player = player or minetest.get_player_by_name("singleplayer")
|
||||||
|
|
Loading…
Reference in New Issue