Scene transition bug

Scene transition bug
0.0 0


Hello guys, I just stuck with really strange scene transition bug.
I have two scenes: MenuScene with buttons and game scene with game elements.
In menuscene I have button with following code:
@ CCScene* pScene = GameScene::scene();

After that I get on GameScene with its elements, but the problem is if I click on background in locations of the buttons at menuscene they are called, from another scene!.
Any ideas?