mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
fix local declaration
This commit is contained in:
parent
860317168b
commit
31aa880e85
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ end
|
||||||
|
|
||||||
function mcl_potions.healing_func(player, hp)
|
function mcl_potions.healing_func(player, hp)
|
||||||
|
|
||||||
obj = player:get_luaentity()
|
local obj = player:get_luaentity()
|
||||||
|
|
||||||
if is_zombie[player:get_entity_name()] then hp = -hp end
|
if is_zombie[player:get_entity_name()] then hp = -hp end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue