SteamWar/BungeeCore
Archiviert
13
2

Fix deployarena.py gamemode file loading
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2023-08-19 12:59:00 +02:00
Ursprung 8c03d2a348
Commit 0c3f200a91

Datei anzeigen

@ -16,7 +16,7 @@ if __name__ == "__main__":
worldname = sys.argv[3] worldname = sys.argv[3]
with open(configfile, 'r') as file: with open(configfile, 'r') as file:
gamemode = yaml.load(configfile, Loader=yaml.CLoader) gamemode = yaml.load(file, Loader=yaml.CLoader)
builderworld = path.expanduser(f'~/builder{version}/{worldname}') builderworld = path.expanduser(f'~/builder{version}/{worldname}')
arenaworld = f'/servers/{gamemode["Server"]["Folder"]}/arenas/{worldname}' arenaworld = f'/servers/{gamemode["Server"]["Folder"]}/arenas/{worldname}'