Remove registration of the Modal Window manager from the game and mainMenu modules. Leaving it in the 'modal' module is enough.
parent
b3e884c9f0
commit
b42a7c62e6
|
@ -66,14 +66,6 @@ local function drawModals(idx)
|
|||
end
|
||||
end
|
||||
|
||||
ui.registerModule('game', function()
|
||||
drawModals(1)
|
||||
end)
|
||||
|
||||
ui.registerModule('mainMenu', function()
|
||||
drawModals(1)
|
||||
end)
|
||||
|
||||
ui.registerModule('modal', function()
|
||||
drawModals(1)
|
||||
end)
|
||||
|
|
Loading…
Reference in New Issue