diff --git a/gmod_bridge.py b/gmod_bridge.py index 9d01d7a..d6f56d3 100644 --- a/gmod_bridge.py +++ b/gmod_bridge.py @@ -96,7 +96,7 @@ def _get_steam_install_path(self): return path elif system == 'Linux': - for path in ["~/.local/share/Steam", "~/.steam/steam", "~/.steam/root"]: + for path in ["~/.steam/manjaro-installation", "~/.local/share/Steam", "~/.steam/steam", "~/.steam/root"]: expanded = os.path.expanduser(path) if os.path.islink(expanded): expanded = os.path.realpath(expanded) @@ -830,7 +830,7 @@ def _get_gmod9_spawner_lua(self): SOURCEBOX.Spawner = SOURCEBOX.Spawner or {} local Spawner = SOURCEBOX.Spawner -local CUBE_MODEL = "models/props/srcbox/srcbox.mdl" +local CUBE_MODEL = "models/srcbox.mdl" local spawned_cubes = {} local spawn_initialized = false local spawn_attempts = 0 @@ -1669,7 +1669,7 @@ def _get_spawner_lua(self): SOURCEBOX.Spawner = SOURCEBOX.Spawner or {} local Spawner = SOURCEBOX.Spawner -local CUBE_MODEL = "models/props/srcbox/srcbox.mdl" +local CUBE_MODEL = "models/srcbox.mdl" local spawned_cubes = {} local spawn_initialized = false local spawn_attempts = 0 diff --git a/source_bridge.py b/source_bridge.py index 8884e74..9c72d99 100755 --- a/source_bridge.py +++ b/source_bridge.py @@ -232,7 +232,7 @@ def _get_steam_install_path(self): return path elif system == 'Linux': - for path in ["~/.local/share/Steam", "~/.steam/steam", "~/.steam/root"]: + for path in ["~/.steam/manjaro-installation", "~/.local/share/Steam", "~/.steam/steam", "~/.steam/root"]: expanded = os.path.expanduser(path) if os.path.islink(expanded): expanded = os.path.realpath(expanded)