mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 13:35:11 +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();
|
AllocConsole();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (!fs::exists("mods")) {
|
||||||
|
fs::create_directories("mods");
|
||||||
|
}
|
||||||
|
|
||||||
if (std::filesystem::exists(main_path)) {
|
if (std::filesystem::exists(main_path)) {
|
||||||
archiveFiles.push_back(main_path);
|
archiveFiles.push_back(main_path);
|
||||||
} else {
|
} else {
|
||||||
@ -78,9 +82,6 @@ GameEngine::GameEngine() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ShowYesNoBox("Extraction Complete", "ROM Extracted. Extract another?") == IDYES) {
|
if (ShowYesNoBox("Extraction Complete", "ROM Extracted. Extract another?") == IDYES) {
|
||||||
if (!fs::exists("mods")) {
|
|
||||||
fs::create_directories("mods");
|
|
||||||
}
|
|
||||||
if(!GenAssetFile()){
|
if(!GenAssetFile()){
|
||||||
ShowMessage("Error", "An error occured, no O2R file was generated.");
|
ShowMessage("Error", "An error occured, no O2R file was generated.");
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user