mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
Merge pull request #294 from Fleeym/update-disabled-mod
Do not show the update notice for disabled mods + one binding
This commit is contained in:
commit
8a22311887
2 changed files with 2 additions and 2 deletions
|
@ -3873,7 +3873,7 @@ class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate {
|
|||
cocos2d::CCArray* createObjectsFromString(gd::string, bool) = mac 0x94730, win 0x160980;
|
||||
void getLastObjectX() = mac 0x9c860, win 0x167290;
|
||||
gd::string getLevelString() = mac 0x97790, win 0x162480;
|
||||
void getNextColorChannel() = mac 0x9a610;
|
||||
int getNextColorChannel() = mac 0x9a610, win 0x164e10;
|
||||
void getNextFreeBlockID(cocos2d::CCArray*) = mac 0x9a4e0;
|
||||
int getNextFreeGroupID(cocos2d::CCArray*) = mac 0x9a1b0, win 0x164ae0;
|
||||
void getNextFreeItemID(cocos2d::CCArray*) = mac 0x9a390;
|
||||
|
|
|
@ -594,7 +594,7 @@ bool Index::isUpdateAvailable(IndexItemHandle item) const {
|
|||
bool Index::areUpdatesAvailable() const {
|
||||
for (auto& mod : Loader::get()->getAllMods()) {
|
||||
auto item = this->getMajorItem(mod->getID());
|
||||
if (item && item->getMetadata().getVersion() > mod->getVersion()) {
|
||||
if (item && item->getMetadata().getVersion() > mod->getVersion() && mod->isEnabled()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue