forked from Mirrors/openclonk
reloc: Exepath should not override the planet folder
The planet folder is used to develop the game data and should come first. The pure exepath is only used on windows, where it is the system data path and should come last.
parent
e7ceab5e87
commit
4830eb4162
|
@ -27,9 +27,6 @@ void C4Reloc::Init()
|
|||
{
|
||||
Paths.clear();
|
||||
|
||||
// Check for system group at EXE path - only add if found
|
||||
if (FileExists(Config.AtExePath(C4CFN_System)))
|
||||
AddPath(Config.General.ExePath.getData());
|
||||
#ifndef __APPLE__
|
||||
StdCopyStrBuf planet(Config.General.ExePath);
|
||||
planet.AppendBackslash();
|
||||
|
|
Loading…
Reference in New Issue