hacky way to solve ready texture display

This commit is contained in:
Clément Le Bihan
2021-06-16 00:54:18 +02:00
parent 52d9eca934
commit f549faa424
+2 -1
View File
@@ -142,7 +142,8 @@ namespace BBM
.addComponent<Drawable2DComponent, RAY::Texture>(false, "assets/player/icons/none.png");
auto &ready = scene->addEntity("ready")
.addComponent<PositionComponent>(224 * (i + 1) + 200 * i, 1080 / 3, 0)
.addComponent<Drawable2DComponent, RAY::Texture>(false);
// todo check why it does this | hacky way to fix ready texture
.addComponent<Drawable2DComponent, RAY::Texture>(false, "");
player.addComponent<LobbyComponent>(i, ready, playerTile);
}
scene->addEntity("camera")