mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-06-23 15:48:03 +02:00
bugfix in sort_keys for actions
This commit is contained in:
parent
a1ce1db375
commit
2ace5da2c9
@ -1901,7 +1901,7 @@ yl_speak_up.sort_keys = function(t)
|
||||
table.sort(keys)
|
||||
for i,k in ipairs(keys) do
|
||||
-- avoid cutting the single a from a_1 (action 1)
|
||||
if(k and string.sub(k, 1, 1) == "a" and string.sub(k, 1, 2) ~= "aa") then
|
||||
if(k and string.sub(k, 1, 1) == "a" and string.sub(k, 2, 2) ~= "_") then
|
||||
-- remove the leading blank
|
||||
keys[i] = string.sub(k, 2)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user