bugfixes and midi2cfg changes from my secret branch

This commit is contained in:
Rudolf Polzer 2011-10-14 23:34:40 +02:00
parent d21c1e8d15
commit 0752502275
2 changed files with 5 additions and 5 deletions

View File

@ -866,7 +866,7 @@ bot common
bot instance_tuba_red
include tuba_red
include common
count 8
count 16
init
cmd movetotarget @places_tuba
cmd barrier
@ -875,7 +875,7 @@ bot instance_tuba_red
bot instance_tuba_blue
include tuba_blue
include common
count 8
count 16
init
cmd movetotarget @places_tuba
cmd barrier
@ -884,7 +884,7 @@ bot instance_tuba_blue
bot instance_accordeon_red
include accordeon_red
include common
count 8
count 16
init
cmd movetotarget @places_tuba
cmd barrier
@ -893,7 +893,7 @@ bot instance_accordeon_red
bot instance_accordeon_blue
include accordeon_blue
include common
count 8
count 16
init
cmd movetotarget @places_tuba
cmd barrier

View File

@ -857,7 +857,7 @@ sub ConvertMIDI($$)
my $votehigh = 0;
my $votelow = 0;
my $votegood = 0;
for(@busybots_allocated)
for(@busybots_allocated, grep { $_->{count} > 0 } values %$busybots)
{
next # I won't play on this channel
if defined $_->{channels} and not $_->{channels}->{$channel};