mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-16 11:55:20 +00:00
if you must take a bot from another channel - pick the one which played least on it
This commit is contained in:
parent
4ba4a58424
commit
92972e6be4
@ -548,7 +548,7 @@ sub botsort($$$$@)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
# better leave this one alone
|
# better leave this one alone
|
||||||
--$q;
|
$q -= $_->{lastchannelsequence};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[$_, $q, rand]
|
[$_, $q, rand]
|
||||||
|
Loading…
Reference in New Issue
Block a user