mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-27 00:06:49 +00:00
fix button links in score scene
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user