cleanup revert

master
BuckarooBanzay 2020-05-25 12:48:01 +02:00
parent 308e50cae8
commit d37f484ab7
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,10 @@ dofile(MP.."/rain.lua")
dofile(MP.."/thunderstorm.lua")
dofile(MP.."/snow.lua")
local function cleanup(playername)
epic_weather.current_weather[playername] = nil
end
-- epic exit hook, cleanups
epic.register_hook({
on_epic_exit = cleanup,