Added handling for bots without nicknames to setRandomisedGameVersionAndCategory()
This commit is contained in:
parent
64d4eb2cd6
commit
7bfa4f16e9
@ -518,7 +518,7 @@ export class BotGenerator {
|
||||
*/
|
||||
protected setRandomisedGameVersionAndCategory(botInfo: Info): string {
|
||||
// Special case
|
||||
if (botInfo.Nickname.toLowerCase() === "nikita") {
|
||||
if (botInfo.Nickname?.toLowerCase() === "nikita") {
|
||||
botInfo.GameVersion = GameEditions.UNHEARD;
|
||||
botInfo.MemberCategory = MemberCategory.DEVELOPER;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user