|
@@ -215,12 +215,10 @@ bool GameScene::onContactBegin(PhysicsContact& contact) {
|
|
|
nodeB->removeFromParentAndCleanup(true);
|
|
|
} else if (nodeB->getTag() == THREE_BALLS_TAG && nodeA->getTag() == BOTTOM_TAG) {
|
|
|
nodeB->removeFromParentAndCleanup(true);
|
|
|
- } else if (nodeB->getTag() == SAVE_TAG && over) {
|
|
|
- nodeB->removeFromParentAndCleanup(true);
|
|
|
- } else if (nodeB->getTag() == THREE_BALLS_TAG && over) {
|
|
|
- nodeB->removeFromParentAndCleanup(true);
|
|
|
}
|
|
|
|
|
|
+ } else {
|
|
|
+ nodeB->removeFromParentAndCleanup(true);
|
|
|
}
|
|
|
return true;
|
|
|
}
|