Archiviert
1
0

Fix deployarena.py gamemode file loading

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]
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}')
arenaworld = f'/servers/{gamemode["Server"]["Folder"]}/arenas/{worldname}'