From 9ff944d9b4da0bd7014a4818bf51985b5d4fa413 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Sat, 28 Feb 2026 10:21:51 +0100 Subject: [PATCH] Bugfix for searching encounter deck --- src/accessories/SearchAssistant.ttslua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/accessories/SearchAssistant.ttslua b/src/accessories/SearchAssistant.ttslua index 785bfa718..df1f2f31c 100644 --- a/src/accessories/SearchAssistant.ttslua +++ b/src/accessories/SearchAssistant.ttslua @@ -39,7 +39,7 @@ function createContextMenu() self.clearContextMenu() self.addContextMenuItem("Search Starting", function(triggeringColor) if ongoingSearch then return end - getColors() + getColors(triggeringColor) if owner == "Mythos" then printToColor("This only works for playermats.", triggeringColor, "Red") @@ -101,7 +101,7 @@ function onNumberTyped(playerColor, number) end end -function getColors() +function getColors(messageColor) -- intentionally global owner = GUIDReferenceApi.getOwnerOfObject(self) if owner == "Mythos" then @@ -121,7 +121,7 @@ end function startSearch(messageColor, number) if ongoingSearch then return end - getColors() + getColors(messageColor) topCardDetected = false