From 386de3f27591e9541a4117b67ade9b5b6f70e243 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sun, 5 Nov 2023 19:03:10 +0100 Subject: console.lua: complete raw properties --- player/lua/console.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') diff --git a/player/lua/console.lua b/player/lua/console.lua index a0a9eb3d9c..01f5e5f6b0 100644 --- a/player/lua/console.lua +++ b/player/lua/console.lua @@ -770,7 +770,7 @@ function build_completers() { pattern = '^%s*change[-_]list%s+"?([%w_-]+)"?%s+"()%a*$', list = list_option_verb_list, append = '" ' }, { pattern = '^%s*([av]f)%s+()%a*$', list = list_option_verb_list, append = ' ' }, { pattern = '^%s*([av]f)%s+"()%a*$', list = list_option_verb_list, append = '" ' }, - { pattern = '${()[%w_/-]+$', list = property_list, append = '}' }, + { pattern = '${=?()[%w_/-]+$', list = property_list, append = '}' }, } for _, command in pairs({'set', 'add', 'cycle', 'cycle[-_]values', 'multiply'}) do -- cgit v1.2.3