diff --git a/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua b/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua index 3f804822a9..d58c1cb813 100644 --- a/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua +++ b/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua @@ -163,7 +163,7 @@ local t = Def.ActorFrame { Name = "WifePerch", OnCommand = function(self) - if allowedCustomization then + if allowedCustomization and SCREENMAN:GetTopScreen():GetName() ~= "ScreenGameplaySyncMachine" then -- auto enable autoplay GAMESTATE:SetAutoplay(true) else diff --git a/Themes/Til Death/BGAnimations/ScreenGameplay overlay/messagebox.lua b/Themes/Til Death/BGAnimations/ScreenGameplay overlay/messagebox.lua index f0e2a71031..5c22e6c559 100644 --- a/Themes/Til Death/BGAnimations/ScreenGameplay overlay/messagebox.lua +++ b/Themes/Til Death/BGAnimations/ScreenGameplay overlay/messagebox.lua @@ -19,6 +19,9 @@ end return Def.ActorFrame { OnCommand = function(self) + if SCREENMAN:GetTopScreen():GetName() == "ScreenGameplaySyncMachine" then + self:visible(false) + end SCREENMAN:GetTopScreen():AddInputCallback(MovableInput) self:SetUpdateFunction(highlight) end, diff --git a/Themes/Til Death/Scripts/02 CustomizeGameplay.lua b/Themes/Til Death/Scripts/02 CustomizeGameplay.lua index 6d31a114b4..e334203bb7 100644 --- a/Themes/Til Death/Scripts/02 CustomizeGameplay.lua +++ b/Themes/Til Death/Scripts/02 CustomizeGameplay.lua @@ -854,6 +854,7 @@ local function updatetext(button) end function MovableInput(event) + if SCREENMAN:GetTopScreen():GetName() == "ScreenGameplaySyncMachine" then return end if getAutoplay() ~= 0 then -- this will eat any other mouse input than a right click (toggle) -- so we don't have to worry about anything weird happening with the ersatz inputs -mina @@ -1016,6 +1017,12 @@ function MovableBorder(width, height, bw, x, y) self:xy(x,y):diffusealpha(0) self:SetUpdateFunction(bordermousereact) end, + OnCommand=function(self) + if SCREENMAN:GetTopScreen():GetName() == "ScreenGameplaySyncMachine" then + self:visible(false) + self:SetUpdateFunction(nil) + end + end, ChangeWidthCommand=function(self, params) self:GetChild("xbar"):zoomx(params.val) self:GetChild("showybox"):zoomx(params.val)