mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-08-21 09:31:04 +02:00
avoid an undeclared global check
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user