MT 0.4.16 compatibility fixes and code clean-up.

This commit is contained in:
Arturas Norkus
2019-07-19 20:06:28 +03:00
parent c6987629e5
commit 2a8c2d0566
3 changed files with 18 additions and 5 deletions

View File

@ -11,8 +11,8 @@ local snowstorm = {}
-- Weather identification code
snowstorm.code = "snowstorm"
snowstorm.last_check = 0
snowstorm.check_interval = 5
snowstorm.chance = 1
snowstorm.check_interval = 300
snowstorm.chance = 0.05
-- Keeps sound handler references
local sound_handlers = {}