From fc311a83450f4230413885328726d1c0e371509e Mon Sep 17 00:00:00 2001 From: Ben Lubar Date: Tue, 24 May 2016 13:26:16 -0500 Subject: [PATCH] convert the key to a string so gm-editor doesn't error on vector elements --- scripts/gui/gm-editor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gui/gm-editor.lua b/scripts/gui/gm-editor.lua index 576649013..38394ec36 100644 --- a/scripts/gui/gm-editor.lua +++ b/scripts/gui/gm-editor.lua @@ -188,7 +188,7 @@ function GmEditorUi:find(test) end end function GmEditorUi:find_id() - local key = self:getSelectedKey() + local key = tostring(self:getSelectedKey()) local id = tonumber(self:getSelectedValue()) if not id then return end local opts = {}