summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR-one <r1-c@live.fr>2017-12-24 20:26:35 +0100
committerR-one <r1-c@live.fr>2017-12-24 20:26:35 +0100
commitbd513c34bf41c3d75f91b11d6c21d417f6e19c7c (patch)
tree773cff7a807fd5702ec88a1ff894ede63a7ce6da
parentd09a4960fb184bb0d8f6e0c18224399128c07754 (diff)
remove minetest.setting_* functions are deprecated
-rw-r--r--mobs_fish/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobs_fish/init.lua b/mobs_fish/init.lua
index e48ad45..f164f14 100644
--- a/mobs_fish/init.lua
+++ b/mobs_fish/init.lua
@@ -9,7 +9,7 @@ local SPRITE_VERSION = false -- set to true to use upright sprites instead of me
local l_spawn_chance = 10000
local l_cc_hand = 25
local l_cc_net = 80
- local l_water_level = minetest.setting_get("water_level") - 1
+ local l_water_level = minetest.settings:get("water_level") - 1
local l_anims = {
speed_normal = 24, speed_run = 24,
stand_start = 1, stand_end = 80,
@@ -34,7 +34,7 @@ local SPRITE_VERSION = false -- set to true to use upright sprites instead of me
l_visual = "upright_sprite"
l_visual_size = {x=.5, y=.5}
l_clown_mesh = nil
- l_trop_mesh = nil
+ l_trop_mesh = nil
l_clown_textures = {{"animal_clownfish_clownfish_item.png"}}
l_trop_textures = {{"animal_fish_blue_white_fish_blue_white_item.png"}}
end