SC2: Launch game in fullscreen mode.

This commit is contained in:
TheCondor07 2022-05-23 09:13:44 -04:00 committed by Fabian Dill
parent a7f647e3ca
commit 7126b7bca0
1 changed files with 3 additions and 1 deletions

View File

@ -218,8 +218,10 @@ async def starcraft_launch(ctx: Context, mission_id):
ctx.sent_announce_pos = len(ctx.items_sent_to_announce)
ctx.announcements_pos = len(ctx.announcements)
sc2_logger.info(f"Launching {lookup_id_to_mission[mission_id]}. If game does not launch check log file for errors.")
run_game(sc2.maps.get(maps_table[mission_id - 1]), [
Bot(Race.Terran, ArchipelagoBot(ctx, mission_id), name="Archipelago")], realtime=True)
Bot(Race.Terran, ArchipelagoBot(ctx, mission_id), name="Archipelago", fullscreen=True)], realtime=True)
class ArchipelagoBot(sc2.bot_ai.BotAI):