fix button links in score scene

This commit is contained in:
arthur.jamet
2021-06-17 22:15:45 +02:00
parent 24d237d6a8
commit b31d4808cd
+2 -2
View File
@@ -119,8 +119,8 @@ namespace BBM
texture->use("assets/buttons/button_back_hovered.png");
});
back.getComponent<OnClickComponent>().setButtonLinks(&play, nullptr, &play);
play.getComponent<OnClickComponent>().setButtonLinks(nullptr, &back, nullptr,&back);
back.getComponent<OnClickComponent>().setButtonLinks(&play, nullptr, nullptr, &play);
play.getComponent<OnClickComponent>().setButtonLinks(nullptr, &back, &back);
return scene;
}
}