don't disconnect players when creating a game of too low level

This commit is contained in:
Martin Michelsen
2023-02-02 19:49:18 -08:00
parent c5f4f2907e
commit 77f919980a
2 changed files with 35 additions and 18 deletions
+1 -1
View File
@@ -496,7 +496,7 @@ static void server_command_playrec(shared_ptr<ServerState> s, shared_ptr<Lobby>
shared_ptr<Episode3::BattleRecord> record(new Episode3::BattleRecord(data));
shared_ptr<Episode3::BattleRecordPlayer> battle_player(
new Episode3::BattleRecordPlayer(record, s->game_server->get_base()));
auto game = create_game_generic(s, c, args.c_str(), u"", 0xFF, 0, flags, nullptr, battle_player);
create_game_generic(s, c, args.c_str(), u"", 0xFF, 0, flags, nullptr, battle_player);
}
}