1
0
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:
bell07
2017-12-24 15:49:53 +01:00
committed by GitHub
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