16 lines
564 B
Diff
16 lines
564 B
Diff
--- a/util/Directories.cpp 2021-08-01 13:40:55.000000000 +0200
|
|
+++ b/util/Directories.cpp 2021-09-03 16:45:51.397237877 +0200
|
|
@@ -290,9 +290,9 @@
|
|
|
|
const fs::path GetRootDataDir() {
|
|
if (!g_initialized) InitDirs("");
|
|
- char* dir_name = br_find_data_dir(SHAREPATH);
|
|
- fs::path p(dir_name);
|
|
- std::free(dir_name);
|
|
+ //char* dir_name = br_find_data_dir(SHAREPATH);
|
|
+ fs::path p("/usr/share/games");
|
|
+ //std::free(dir_name);
|
|
p /= "freeorion";
|
|
// if the path does not exist, we fall back to the working directory
|
|
if (!exists(p)) {
|