mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
still load game if geode is newer
This commit is contained in:
parent
562e73d610
commit
a0515fad26
1 changed files with 5 additions and 6 deletions
|
@ -42,19 +42,18 @@ int WINAPI gdMainHook(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd
|
|||
"Unable to Load Geode!",
|
||||
fmt::format(
|
||||
"This version of Geode is made for Geometry Dash {} "
|
||||
"but you're trying to play with GD {}."
|
||||
"but you're trying to play with GD {}.\n"
|
||||
"Please, update your game or install an older version of Geode.",
|
||||
GEODE_STR(GEODE_GD_VERSION),
|
||||
LoaderImpl::get()->getGameVersion()
|
||||
)
|
||||
);
|
||||
return 2;
|
||||
} else {
|
||||
int exitCode = geodeEntry(hInstance);
|
||||
if (exitCode != 0)
|
||||
return exitCode;
|
||||
}
|
||||
|
||||
int exitCode = geodeEntry(hInstance);
|
||||
if (exitCode != 0)
|
||||
return exitCode;
|
||||
|
||||
return reinterpret_cast<decltype(&wWinMain)>(mainTrampolineAddr)(hInstance, hPrevInstance, lpCmdLine, nCmdShow);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue