mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-15 11:24:56 +00:00
cfgapply: fix another bug
This commit is contained in:
parent
f6925ebc0f
commit
9c69c5f2f8
@ -11,9 +11,8 @@ while(<>)
|
||||
{
|
||||
chomp;
|
||||
s/\r//g;
|
||||
s/\/\/.*//;
|
||||
|
||||
if(/^\s*(?:set\s+|seta\s+|)(\S+)/)
|
||||
if(/^\s*(?:set\s+|seta\s+)(\S+)/ or /^\s*(\S+_\S+)/)
|
||||
{
|
||||
if(exists $cvar2line{$1})
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user