fix wrong Malus index

This commit is contained in:
Beu 2023-07-14 23:27:53 +02:00
parent 52cb42b6ae
commit 2b824e5e41
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ Void Yield() {
// Run Malus
if (Now > G_NextStepMalusTime) {
declare netwrite Integer Net_Malus_MalusIndex for Teams[0] = 0;
Net_Malus_MalusIndex = ML::Rand(1, 14);
Net_Malus_MalusIndex = ML::Rand(1, 13);
foreach (Player in Players) {
if (!G_MalusQueue.existskey(Player.User.Login)) G_MalusQueue[Player.User.Login] = [];
G_MalusQueue[Player.User.Login].add(GetNewMalus(Net_Malus_MalusIndex, 3000));