diff --git a/loader/include/Geode/utils/cocos.hpp b/loader/include/Geode/utils/cocos.hpp index c02e0fe1..33883629 100644 --- a/loader/include/Geode/utils/cocos.hpp +++ b/loader/include/Geode/utils/cocos.hpp @@ -1091,7 +1091,7 @@ namespace geode::cocos { auto operator[](const Key& key) { auto ret = static_cast(m_dict->objectForKey(key)); - if (!ret) m_dict->setObject(cocos2d::CCObject::create(), key); + if (!ret) m_dict->setObject(cocos2d::CCNode::create(), key); return CCDictEntry(key, m_dict); }