This commit is contained in:
alk 2022-11-17 23:29:08 +03:00 committed by GitHub
parent a79a13c1ab
commit b860871930
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ struct ProxyCCNode : Modify<ProxyCCNode, CCNode> {
if (static_cast<CCObject*>(this) == static_cast<CCObject*>(CCDirector::get())) {
// apparently this function is the same as
// CCDirector::getNextScene so yeah
return m_userObject;
return m_pUserObject;
}
return GeodeNodeMetadata::set(this)->m_userObject;
}