Skip to content

Commit

Permalink
convert the key to a string so gm-editor doesn't error on vector elem…
Browse files Browse the repository at this point in the history
…ents
  • Loading branch information
BenLubar committed May 24, 2016
1 parent 9be9285 commit fc311a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gui/gm-editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit fc311a8

Please sign in to comment.