diff --git a/gamefixes-steam/1245620.py b/gamefixes-steam/1245620.py index 59e72a18..eaccc31e 100644 --- a/gamefixes-steam/1245620.py +++ b/gamefixes-steam/1245620.py @@ -3,8 +3,8 @@ from pathlib import Path from protonfixes import util + def main(): - if not Path(f"{util.get_game_install_path()}/Game/DLC.bdt").exists(): - # Create the DLC.bdt file if it doesn't already exist, which is known to fix Easy AntiCheat not working for players that don't own the DLC - # A blank file is enough to get multiplayer working - open(f"{util.get_game_install_path()}/Game/DLC.bdt", 'wb').close() + # Create the DLC.bdt file if it doesn't already exist, which is known to fix Easy AntiCheat not working for players that don't own the DLC + # A blank file is enough to get multiplayer working + Path(f"{util.get_game_install_path()}/Game/DLC.bdt").touch(exist_ok=True)