mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Local variable fix in mcl_mobs
This commit is contained in:
parent
61c5c61e00
commit
f7227de6fa
1 changed files with 1 additions and 1 deletions
|
@ -1410,7 +1410,7 @@ local npc_attack = function(self)
|
|||
p = obj.object:get_pos()
|
||||
sp = s
|
||||
|
||||
dist = get_distance(p, s)
|
||||
local dist = get_distance(p, s)
|
||||
|
||||
-- aim higher to make looking up hills more realistic
|
||||
p.y = p.y + 1
|
||||
|
|
Loading…
Reference in a new issue