mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-01-11 18:50:27 +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 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user