mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-25 15:39:50 +00:00
fixed one crash
This commit is contained in:
@@ -77,7 +77,7 @@ namespace BBM
|
||||
ParserYAML::load(gameScene);
|
||||
} catch (std::exception const &err) {
|
||||
std::cout << err.what() << std::endl;
|
||||
Runner::gameState._loadedScenes[GameState::SceneID::GameScene]->addEntity("Error message parser")
|
||||
gameScene->addEntity("Error message parser")
|
||||
.addComponent<PositionComponent>(1920 / 5, 2 * 1080 / 4.25, 0)
|
||||
.addComponent<TimerComponent>(3s, [](WAL::Entity &myEntity, WAL::Wal &wal) {
|
||||
myEntity.scheduleDeletion();
|
||||
|
||||
Reference in New Issue
Block a user