Closed darkshade9 closed 2 years ago
Interesting. I guess I've never started a server without +set game action
. However I don't like this fix, as it would prevent someone from running a weird version in their own gamedir if they wanted to. Instead, it should just default to action:
game_dir = gi.cvar ("game", "action", 0);
This is the way I would prefer to fix this, if it works: https://github.com/Raptor007/aq2-tng/commit/0e063ac73328f4c4e275970a23efe46d51e47d17
This should resolve https://github.com/Raptor007/aq2-tng/issues/114
If you start a game without specifying
+set game action
then the cvar is empty, and the path to save the terrain file is silently broken.I set it to a static value as I don't think we'll ever not be
action