mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
update invalid mods v3
Some checks failed
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
Check CHANGELOG.md / Check CHANGELOG.md (push) Has been cancelled
Some checks failed
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
Check CHANGELOG.md / Check CHANGELOG.md (push) Has been cancelled
This commit is contained in:
parent
d8cb2dec14
commit
30dc70c232
1 changed files with 11 additions and 4 deletions
|
@ -499,9 +499,16 @@ void ModItem::onView(CCObject*) {
|
|||
if (!Loader::get()->isModVersionSupported(version.getGeodeVersion())) {
|
||||
return FLAlertLayer::create(
|
||||
nullptr,
|
||||
"Outdated",
|
||||
"This mod is targets an <cr>outdated version of Geode</c>. "
|
||||
"<co>Please wait for its developer to update it.</c>",
|
||||
"Unavailable",
|
||||
"This mod targets an <cr>unsupported version of Geode</c>.",
|
||||
"OK", nullptr, 360
|
||||
)->show();
|
||||
}
|
||||
if (version.getGameVersion() == "0.000") {
|
||||
return FLAlertLayer::create(
|
||||
nullptr,
|
||||
"Invalid Platform",
|
||||
"This mod is <cr>not available</c> for your current platform.",
|
||||
"OK", nullptr, 360
|
||||
)->show();
|
||||
}
|
||||
|
@ -509,7 +516,7 @@ void ModItem::onView(CCObject*) {
|
|||
return FLAlertLayer::create(
|
||||
nullptr,
|
||||
"Outdated",
|
||||
"This mod is targets a <cr>different version of Geometry Dash</c>. "
|
||||
"This mod targets a <cr>different version of Geometry Dash</c>. "
|
||||
"<co>Please wait for its developer to update it.</c>",
|
||||
"OK", nullptr, 360
|
||||
)->show();
|
||||
|
|
Loading…
Reference in a new issue