mutator: fix level stepper not showing back up after closing mutators
This commit is contained in:
parent
91d347c1fb
commit
c1e5411040
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue