stats.lua: add nonscalable prefix to cmd_prefixes

This commit is contained in:
nanahi 2024-10-13 14:30:06 -04:00 committed by Kacper Michajłow
parent 72a705c598
commit 86e8cae9ca
1 changed files with 3 additions and 2 deletions

View File

@ -412,8 +412,9 @@ end
-- command prefix tokens to strip - includes generic property commands
local cmd_prefixes = {
osd_auto=1, no_osd=1, osd_bar=1, osd_msg=1, osd_msg_bar=1, raw=1, sync=1,
async=1, expand_properties=1, repeatable=1, nonrepeatable=1, set=1, add=1,
multiply=1, toggle=1, cycle=1, cycle_values=1, ["!reverse"]=1, change_list=1,
async=1, expand_properties=1, repeatable=1, nonrepeatable=1, nonscalable=1,
set=1, add=1, multiply=1, toggle=1, cycle=1, cycle_values=1, ["!reverse"]=1,
change_list=1,
}
-- commands/writable-properties prefix sub-words (followed by -) to strip
local name_prefixes = {