From 32cd4c40f1df08dda4cd82ecd257ffaa2b793aa2 Mon Sep 17 00:00:00 2001 From: matcool <26722564+matcool@users.noreply.github.com> Date: Tue, 9 Jan 2024 09:41:22 -0300 Subject: [PATCH] fix ccdictionaryext yet again --- loader/include/Geode/utils/cocos.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }