mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-26 15:58:12 +00:00
Fixing play button color
This commit is contained in:
@@ -66,7 +66,7 @@ namespace BBM
|
||||
|
||||
void ResumeLobbySystem::onSelfUpdate(std::chrono::nanoseconds dtime)
|
||||
{
|
||||
auto &view = this->_wal.getScene()->view<TagComponent<"PlayButton">, Drawable2DComponent>();
|
||||
auto &view = this->_wal.getScene()->view<TagComponent<"ResumeButton">, Drawable2DComponent>();
|
||||
if (view.size() == 0)
|
||||
return;
|
||||
auto *texture = dynamic_cast<RAY::Texture *>(view.front().get<Drawable2DComponent>().drawable.get());
|
||||
|
||||
Reference in New Issue
Block a user