From 2a82f46e498270ef8ad4a69c2a8536eb02ebf29c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Thu, 10 Jun 2021 23:12:47 +0200 Subject: [PATCH] adding blowable tag to bonuses but the bomb exploded the bonuses instantly --- sources/Map/Map.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/Map/Map.cpp b/sources/Map/Map.cpp index fb9ef9b3..d8522618 100644 --- a/sources/Map/Map.cpp +++ b/sources/Map/Map.cpp @@ -53,6 +53,7 @@ namespace BBM return; wal.getScene()->scheduleNewEntity("Bonus") .addComponent(position) + .addComponent>() .addComponent(1, [](WAL::Entity &entity, WAL::Wal &wal) { entity.scheduleDeletion(); })