Properly display heimdall commands

This commit is contained in:
2025-01-08 13:13:43 +01:00
parent 8c5a94a12a
commit 2ba6d190f0

View File

@@ -1181,7 +1181,7 @@ function shared.Config.Init()
local commands = CreateBasicSmallEditBox("HeimdallCommanderConfigCommands", local commands = CreateBasicSmallEditBox("HeimdallCommanderConfigCommands",
commanderConfigFrame.frame, "Commands", commanderConfigFrame.frame, "Commands",
table.concat(Heimdall_Data.config.commander.commands, ", "), MapKeyToString(Heimdall_Data.config.commander.commands, ", "),
function(self) function(self)
local text = self:GetText() local text = self:GetText()
Heimdall_Data.config.commander.commands = StringToMap(text, ",") Heimdall_Data.config.commander.commands = StringToMap(text, ",")