From 075250227575af7127abb3f885a6b0bf60b51d8f Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 14 Oct 2011 23:34:40 +0200 Subject: [PATCH] bugfixes and midi2cfg changes from my secret branch --- misc/tools/midi2cfg-ng.conf | 8 ++++---- misc/tools/midi2cfg-ng.pl | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/misc/tools/midi2cfg-ng.conf b/misc/tools/midi2cfg-ng.conf index f136663b..b3fe3d41 100644 --- a/misc/tools/midi2cfg-ng.conf +++ b/misc/tools/midi2cfg-ng.conf @@ -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 diff --git a/misc/tools/midi2cfg-ng.pl b/misc/tools/midi2cfg-ng.pl index 4fe6a0ce..ad06b746 100755 --- a/misc/tools/midi2cfg-ng.pl +++ b/misc/tools/midi2cfg-ng.pl @@ -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}; -- 2.39.2