diff --git a/sonic-radiance.love/game/modules/gui/overlay.lua b/sonic-radiance.love/game/modules/gui/overlay.lua index 7cca4c5..a32337d 100644 --- a/sonic-radiance.love/game/modules/gui/overlay.lua +++ b/sonic-radiance.love/game/modules/gui/overlay.lua @@ -44,6 +44,11 @@ function OverlayScreen:new(active, doShowVersion) self.borders = gui.newBorder(424, 30, 8) self.doShowVersion = doShowVersion + if (active == false) then + wasActive = active + hadVersion = self.doShowVersion + end + OverlayScreen.super.new(self, "overlay") local transformStuff = false @@ -80,6 +85,7 @@ end function OverlayScreen:update(dt) wasActive = self.isVisible hadVersion = self.doShowVersion + OverlayScreen.super.update(self, dt) end function OverlayScreen:createElements()