mirror of
https://github.com/izzy2lost/Starship.git
synced 2026-07-05 15:19:42 -07:00
Fix crash?
This commit is contained in:
+3
-2
@@ -81,8 +81,9 @@ GameEngine::GameEngine() {
|
||||
AllocConsole();
|
||||
#endif
|
||||
|
||||
if (!fs::exists("mods")) {
|
||||
fs::create_directories("mods");
|
||||
const std::string modDir = "/sdcard/Starship/mods";
|
||||
if (!fs::exists(modDir)) {
|
||||
fs::create_directories(modDir);
|
||||
}
|
||||
|
||||
if (std::filesystem::exists(main_path)) {
|
||||
|
||||
Reference in New Issue
Block a user