mutator: fix level stepper not showing back up after closing mutators

This commit is contained in:
UnShame 2018-02-22 15:03:24 +03:00
parent 91d347c1fb
commit c1e5411040

View file

@ -273,6 +273,8 @@ local mutators_view = {
deactivate = function(self) deactivate = function(self)
if not self.initialized or not self.active then return end if not self.initialized or not self.active then return end
self.active = false
-- Showing widgets -- Showing widgets
local widgets = self.map_view.normal_settings_widget_types local widgets = self.map_view.normal_settings_widget_types
@ -298,8 +300,6 @@ local mutators_view = {
widgets.survival["mutator_checkbox_" .. i] = nil widgets.survival["mutator_checkbox_" .. i] = nil
end end
self.active = false
--print("DEACTIVE") --print("DEACTIVE")
end, end,