Fix incorrect random selection for team placement
accepted by: @Freagarach Differential revision: https://code.wildfiregames.com/D5077 This was SVN commit r27938.
This commit is contained in:
parent
f544c6776b
commit
eeaa4bf159
@ -43,7 +43,7 @@ GameSettings.prototype.Attributes.TeamPlacement = class TeamPlacement extends Ga
|
||||
if (this.settings.map.map === "random" || this.value !== "random")
|
||||
return false;
|
||||
|
||||
this.value = pickRandom(this.available).Id;
|
||||
this.value = pickRandom(this.available);
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user