Skip to content

Commit 0fa3f3a

Browse files
authored
Merge pull request #1475 from Alphalaneous/better-outdated-warning
Better outdated warning
2 parents c2f15af + eb5561b commit 0fa3f3a

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

loader/src/platform/mac/main.mm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,12 @@ bool loadGeode() {
146146
console::messageBox(
147147
"Unable to Load Geode!",
148148
fmt::format(
149-
"This version of Geode is made for Geometry Dash {} "
150-
"but you're trying to play with GD {}.\n"
151-
"Please, update your game.",
149+
"Geometry Dash is outdated!\n"
150+
"Geode requires GD {} but you have {}.\n"
151+
"Please, update Geometry Dash to {}.",
152152
GEODE_STR(GEODE_GD_VERSION),
153-
LoaderImpl::get()->getGameVersion()
153+
LoaderImpl::get()->getGameVersion(),
154+
GEODE_STR(GEODE_GD_VERSION)
154155
)
155156
);
156157
return false;

loader/src/platform/windows/main.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,12 @@ int WINAPI gdMainHook(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd
161161
console::messageBox(
162162
"Unable to Load Geode!",
163163
fmt::format(
164-
"This version of Geode is made for Geometry Dash {} "
165-
"but you're trying to play with GD {}.\n"
166-
"Please, update your game.",
164+
"Geometry Dash is outdated!\n"
165+
"Geode requires GD {} but you have {}.\n"
166+
"Please, update Geometry Dash to {}.",
167167
GEODE_STR(GEODE_GD_VERSION),
168-
LoaderImpl::get()->getGameVersion()
168+
LoaderImpl::get()->getGameVersion(),
169+
GEODE_STR(GEODE_GD_VERSION)
169170
)
170171
);
171172
// TODO: should geode FreeLibrary itself here?

0 commit comments

Comments
 (0)