From 92972e6be4a9f3d896a1a80d0dbc49644e90aa54 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 27 Sep 2011 11:12:26 +0200 Subject: [PATCH] if you must take a bot from another channel - pick the one which played least on it --- misc/tools/midi2cfg-ng.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tools/midi2cfg-ng.pl b/misc/tools/midi2cfg-ng.pl index 52dbd3a9..00c826ff 100755 --- a/misc/tools/midi2cfg-ng.pl +++ b/misc/tools/midi2cfg-ng.pl @@ -548,7 +548,7 @@ sub botsort($$$$@) else { # better leave this one alone - --$q; + $q -= $_->{lastchannelsequence}; } } [$_, $q, rand] -- 2.39.2