]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
fs: save files in the correct place when gamedir(s) are in use
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 5 Feb 2024 22:59:24 +0000 (08:59 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 6 Feb 2024 08:06:36 +0000 (18:06 +1000)
commit5db369bea3d0cdd3dbd3b5b8038a399f0dbf84b6
treeda0396b028360af0d1c9cbf597fbef1585ecab37
parentada327fc67c9441b808bcadec87027cd0eee66d9
fs: save files in the correct place when gamedir(s) are in use

As per the description of the `gamedir` command, it's expected that a
gamedir can be added without needing to re-add the primary
(gamedirname1) or secondary/mod (gamedirname2) as the last gamedir just
to ensure that files still get saved there as usual.

Closes https://gitlab.com/xonotic/darkplaces/-/issues/210

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
fs.c
fs.h