From 86e8cae9cae0ae024278f8a03d70f931af836abf Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Sun, 13 Oct 2024 14:30:06 -0400 Subject: [PATCH] stats.lua: add nonscalable prefix to cmd_prefixes --- player/lua/stats.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/player/lua/stats.lua b/player/lua/stats.lua index 2090b83cdd..9366f40788 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -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 = {