mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-02-02 03:31:48 +00:00
midichannels.pl: support indented commands
This commit is contained in:
parent
8bd4153e3a
commit
7fef51eb80
@ -60,7 +60,7 @@ for(@others)
|
||||
while(<STDIN>)
|
||||
{
|
||||
chomp;
|
||||
my @arg = split /\s+/, $_;
|
||||
my @arg = grep { $_ ne '' } split /\s+/, $_;
|
||||
my $cmd = shift @arg;
|
||||
print "Executing: $cmd @arg\n";
|
||||
if($cmd eq '#')
|
||||
|
Loading…
Reference in New Issue
Block a user