From b2647a35a96e316338ba214e64cb595c74658987 Mon Sep 17 00:00:00 2001 From: Anonomit Date: Fri, 20 Jan 2023 19:06:05 -0500 Subject: [PATCH] Added explanation to disenchant button when it's disabled --- Windows/ServerWindow.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows/ServerWindow.xml b/Windows/ServerWindow.xml index ed4a1fe..59c3991 100644 --- a/Windows/ServerWindow.xml +++ b/Windows/ServerWindow.xml @@ -1455,7 +1455,7 @@ }); table.insert(menu, 3, - { text = format(disenchanter and "To Disenchanter: %s" or "To Disenchanter", disenchanter and LootReserve:ColoredPlayer(disenchanter)), + { text = format("To Disenchanter" .. (LootReserve.Server.Settings.RollDisenchant and (disenchanter and ": %s" or " (None Found)") or " (Not Enabled)"), disenchanter and LootReserve:ColoredPlayer(disenchanter)), disabled = not disenchanter, func = function(...) if not LootReserve.Server.CurrentSession or not LootReserve.Server.CurrentSession.ItemReserves[token and token:GetID() or item:GetID()] then