diff --git a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua index 808a684562..cbcc830423 100644 --- a/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua +++ b/Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/wifeTwirl.lua @@ -617,16 +617,18 @@ do -- do-end block to minimize the scope of 'f' local areWeReadiedUp = function() local top = SCREENMAN:GetTopScreen() - local qty = top:GetUserQty() - local loggedInUser = NSMAN:GetLoggedInUsername() - for i = 1, qty do - local user = top:GetUser(i) - if user == loggedInUser then - return top:GetUserReady(i) + if top:GetName() == "ScreenNetSelectMusic" then + local qty = top:GetUserQty() + local loggedInUser = NSMAN:GetLoggedInUsername() + for i = 1, qty do + local user = top:GetUser(i) + if user == loggedInUser then + return top:GetUserReady(i) + end end + -- ???? this should never happen + error "Could not find ourselves in the userlist" end - -- ???? this should never happen - error "Could not find ourselves in the userlist" end readyButton = toggleButton("Unready", "Ready", "/ready", 50, areWeReadiedUp) readyButton.UsersUpdateMessageCommand = function(self)