mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
fix ccdictionaryext yet again
This commit is contained in:
parent
6b1164d4a6
commit
32cd4c40f1
1 changed files with 1 additions and 1 deletions
|
@ -1091,7 +1091,7 @@ namespace geode::cocos {
|
|||
|
||||
auto operator[](const Key& key) {
|
||||
auto ret = static_cast<ValuePtr>(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, ValuePtr>(key, m_dict);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue