mirror of https://github.com/axmolengine/axmol.git
Adding support for cc.CallFunc.
This commit is contained in:
parent
0c9b7718a0
commit
77f723789b
|
@ -787,6 +787,9 @@ void CCScheduler::update(float dt)
|
||||||
{
|
{
|
||||||
if ((! pEntry->paused) && (! pEntry->markedForDeletion))
|
if ((! pEntry->paused) && (! pEntry->markedForDeletion))
|
||||||
{
|
{
|
||||||
|
#ifdef COCOS2D_JAVASCRIPT
|
||||||
|
CCScriptEngineManager::sharedManager()->getScriptEngine()->executeSchedule(1, dt, (CCNode *)pEntry->target);
|
||||||
|
#endif
|
||||||
pEntry->target->update(dt);
|
pEntry->target->update(dt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue