mirror of
https://gitlab.com/rautars/weather_pack.git
synced 2025-05-15 13:50:28 +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:
parent
f8e1640b9a
commit
6d21d3ddd1
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user