Skip to content

Commit

Permalink
FORMAT-AUTO: automatic format on pull request #117
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 19, 2023
1 parent 7e00f94 commit 46c54ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Server/Systems/Network/ServerNetwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace Systems {
auto &arrEnemies = registry.getComponents<Types::Enemy>();
auto arrHealth = registry.getComponents<struct health_s>();
auto arrPos = registry.getComponents<Types::Position>();
auto ids = arrEnemies.getExistingsId();
auto ids = arrEnemies.getExistingsId();

for (auto &id : ids) {
if (arrEnemies[id].getConstId().id == msgEnemyDeath.enemyId.id) {
Expand All @@ -64,7 +64,6 @@ namespace Systems {
static_cast<char>(Maths::removeIntDecimals(arrPos[id].y))},
.type = arrEnemies[id].type,
});

}
return;
}
Expand Down

0 comments on commit 46c54ce

Please sign in to comment.