mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-01-22 14:03:49 +00:00
fix a regex capture fail
This commit is contained in:
parent
80901d0206
commit
3ac967d51e
@ -39,7 +39,7 @@ while(<STDIN>)
|
||||
$line = "\"$key\" \"$r $g $b\"";
|
||||
}
|
||||
}
|
||||
elsif(/^\s*"_floodlight"\s+"\s*([-+0-9.]+)\s*([-+0-9.]+)\s*([-+0-9.]+)\s*(.*)"\s*$/i)
|
||||
elsif(/^\s*"_floodlight"\s+"\s*([-+0-9.]+)\s*([-+0-9.]+)\s*([-+0-9.]+)(\s*.*)"\s*$/i)
|
||||
{
|
||||
my $r = $1;
|
||||
my $g = $2;
|
||||
|
Loading…
Reference in New Issue
Block a user