mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 05:15:10 +00:00
disable debug on startup
This commit is contained in:
@@ -48,12 +48,12 @@ namespace BBM
|
||||
this->updateCurrentButton();
|
||||
for (auto &[buttonEntity, clickComponent]: buttons) {
|
||||
if (buttonEntity == *currentButton) {
|
||||
buttonEntity.getComponent<OnHoverComponent>().onEvent(buttonEntity);
|
||||
buttonEntity.getComponent<OnHoverComponent>().onEvent(buttonEntity, wal);
|
||||
if (select)
|
||||
clickComponent.onEvent(buttonEntity);
|
||||
clickComponent.onEvent(buttonEntity, wal);
|
||||
continue;
|
||||
}
|
||||
buttonEntity.getComponent<OnIdleComponent>().onEvent(buttonEntity);
|
||||
buttonEntity.getComponent<OnIdleComponent>().onEvent(buttonEntity, wal);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user