I am scheduling a event like this (in cocos2d-2.0-x-2.0.4):
Then, in the callback:
`void HelloWorld::callBack(float dt)
// some stuff float randomInterval = getRandomInterval(); this->scheduleOnce(schedule_selector(HelloWorld::callBack), randomInterval());
As a result, the callBack() is called only once and then it prints:
CCScheduler#scheduleSelector. Selector already scheduled. Updating interval from: 0.0000 to 0.0000
does not change the behavior, except that no log is printed out.
Am I doing something wrong, or is this a known issue?