Fixing score on draw

This commit is contained in:
Zoe Roux
2021-06-20 12:20:13 +02:00
parent de6bdf61fe
commit e397a5898a
+1 -1
View File
@@ -91,7 +91,7 @@ namespace BBM
tilesColor[place]);
scene->addEntity("player")
.addComponent<PositionComponent>(224 * (i + 1) + 200 * i, 1080 / 2.5, 0)
.addComponent<Drawable2DComponent, RAY::Texture>(playersIconPath[place]);
.addComponent<Drawable2DComponent, RAY::Texture>(playersIconPath[i]);
}
auto &play = scene->addEntity("play button")
.addComponent<PositionComponent>(1920 / 2.5, 1080 - 180, 0)