1
0
mirror of https://gitlab.com/rautars/weather_pack.git synced 2024-09-27 14:50:21 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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