fixing pr comment issue

This commit is contained in:
Clément Le Bihan
2021-06-19 16:19:35 +02:00
parent 2f76dc359b
commit 9ae112a2a5
+1 -3
View File
@@ -128,10 +128,8 @@ namespace BBM {
std::ofstream playerFile(player);
std::ofstream bonusFile(bonus);
auto &ret = scene->view<TagComponent<Timer>, TimerComponent>();
_block << "timer: " << ret.front().get<TimerComponent>().ringIn.count();
for (auto &[myEntity, tag, timerComponent] : ret) {
_block << "timer: " << timerComponent.ringIn.count();
}
_player << "players:";
_bonus << "bonuses:";
_block << std::endl << "width: " << std::to_string(Runner::mapWidth);