fix wrong Malus index
This commit is contained in:
parent
52cb42b6ae
commit
2b824e5e41
@ -153,7 +153,7 @@ Void Yield() {
|
|||||||
// Run Malus
|
// Run Malus
|
||||||
if (Now > G_NextStepMalusTime) {
|
if (Now > G_NextStepMalusTime) {
|
||||||
declare netwrite Integer Net_Malus_MalusIndex for Teams[0] = 0;
|
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) {
|
foreach (Player in Players) {
|
||||||
if (!G_MalusQueue.existskey(Player.User.Login)) G_MalusQueue[Player.User.Login] = [];
|
if (!G_MalusQueue.existskey(Player.User.Login)) G_MalusQueue[Player.User.Login] = [];
|
||||||
G_MalusQueue[Player.User.Login].add(GetNewMalus(Net_Malus_MalusIndex, 3000));
|
G_MalusQueue[Player.User.Login].add(GetNewMalus(Net_Malus_MalusIndex, 3000));
|
||||||
|
Loading…
Reference in New Issue
Block a user