Partial fix for directory startup location

This commit is contained in:
Anonymous275
2021-02-22 20:09:36 +02:00
parent 263b6c9c0d
commit ba5ba4b8b4
7 changed files with 48 additions and 18 deletions

View File

@@ -25,6 +25,7 @@ int main(int argc, char* argv[]) {
std::thread th(flush);
th.detach();
#endif
GetEP(argv[0]);
InitLauncher(argc,argv);
//CheckDir(argc,argv);
try {
@@ -35,4 +36,8 @@ int main(int argc, char* argv[]) {
PreGame(GetGameDir());
InitGame(GetGameDir());
CoreNetwork();
///TODO: make sure to use argv[0] for everything that should be in the same dir (mod down ect...)
///move to master create branch then make the new config in json
}