Skip to content

Commit

Permalink
fix server_save_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinnn101 committed Feb 3, 2024
1 parent 816e7ab commit 09bc713
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utility/palworld_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def __init__(
operating_system: str = "windows",
) -> None:
self.steamcmd_dir = Path(steamcmd_dir) # Path to steamcmd.exe directory.
self.palworld_server_save_dir = Path(self.palworld_server_dir / "Pal" / "Saved")
self.server_name = server_name # What you want the server name to be.
self.operating_system = operating_system.lower() # "windows" or "linux".

Expand Down Expand Up @@ -64,6 +63,9 @@ def __init__(
# Overwrite palworld_server_dir if set by user
if palword_server_dir:
self.palworld_server_dir = palword_server_dir

# Set path to Palworld server saves
self.palworld_server_save_dir = Path(self.palworld_server_dir / "Pal" / "Saved")

# Common server launch args
self.server_launch_args.append(self.palserver_executable)
Expand Down

0 comments on commit 09bc713

Please sign in to comment.