mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-07-03 17:00:42 +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 default_sounds
|
||||
if default and default.node_sound_stone_defaults then
|
||||
if minetest.get_modpath("default") then
|
||||
default_sounds = default.node_sound_stone_defaults()
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user