From bcc72f97ef1106b8ed028ebcdd1897351f10caa7 Mon Sep 17 00:00:00 2001 From: verygoodlee <45035465+verygoodlee@users.noreply.github.com> Date: Fri, 5 Jul 2024 17:51:33 +0800 Subject: [PATCH] stats.lua: active key bindings: identify prefix nonrepeatable The nonrepeatable prefix was added at commit bc5863a --- player/lua/stats.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/player/lua/stats.lua b/player/lua/stats.lua index b006619c55..85a22ebe48 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -402,8 +402,8 @@ 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, 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, 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 = {