mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-03-28 15:50:23 +01:00
avoid an undeclared global check
This commit is contained in:
parent
6158a5d4dc
commit
dbcf133d56
@ -13,7 +13,7 @@ local fourtyfivedegrees = math.pi/4
|
|||||||
local sixtydegrees = math.pi/3
|
local sixtydegrees = math.pi/3
|
||||||
|
|
||||||
local default_sounds
|
local default_sounds
|
||||||
if default and default.node_sound_stone_defaults then
|
if minetest.get_modpath("default") then
|
||||||
default_sounds = default.node_sound_stone_defaults()
|
default_sounds = default.node_sound_stone_defaults()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user