From 0cbbccc8507ea90ce27782db025628e60ab5dd72 Mon Sep 17 00:00:00 2001 From: theFox6 Date: Tue, 10 Apr 2018 19:11:49 +0200 Subject: [PATCH] Update command.lua uses weather.type instead --- weather/command.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weather/command.lua b/weather/command.lua index b9c4a09..ea2dc1e 100644 --- a/weather/command.lua +++ b/weather/command.lua @@ -9,7 +9,7 @@ minetest.register_chatcommand("setweather", { description = "Set weather to rain, snow or none", -- full description privs = {weather = true}, func = function(name, param) - weather = param + weather.type = param save_weather() end })