mirror of
https://gitlab.com/rautars/weather_pack.git
synced 2025-07-22 16:20:20 +02:00
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
|
-- Credits: xeranas
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
if hw_utils == nil then
|
if not minetest.global_exists("hw_utils") then
|
||||||
hw_utils = {}
|
hw_utils = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user