forked from mtcontrib/weather_pack
avoid undeclared global variable access
remove warning Undeclared global variable "hw_utils" accessed at ...ds/ambience/weather_pack/utils.lua:9
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
-- Credits: xeranas
|
||||
---------------------------------------
|
||||
|
||||
if hw_utils == nil then
|
||||
if not minetest.global_exists("hw_utils") then
|
||||
hw_utils = {}
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user