mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 05:25:01 +03:00
Fixed dumb mistake
Some checks are pending
Some checks are pending
This commit is contained in:
parent
fe1535494b
commit
d2839767da
@ -66,6 +66,10 @@ GameEngine::GameEngine() {
|
||||
AllocConsole();
|
||||
#endif
|
||||
|
||||
if (!fs::exists("mods")) {
|
||||
fs::create_directories("mods");
|
||||
}
|
||||
|
||||
if (std::filesystem::exists(main_path)) {
|
||||
archiveFiles.push_back(main_path);
|
||||
} else {
|
||||
@ -78,9 +82,6 @@ GameEngine::GameEngine() {
|
||||
}
|
||||
|
||||
if (ShowYesNoBox("Extraction Complete", "ROM Extracted. Extract another?") == IDYES) {
|
||||
if (!fs::exists("mods")) {
|
||||
fs::create_directories("mods");
|
||||
}
|
||||
if(!GenAssetFile()){
|
||||
ShowMessage("Error", "An error occured, no O2R file was generated.");
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user