Skip to content

Commit

Permalink
Merge branch 'feat/all-command' of github.com:maelbecel/R-Type into f…
Browse files Browse the repository at this point in the history
…eat/all-command
  • Loading branch information
thomasjuin1 committed Jan 9, 2024
2 parents 3d75276 + c84fe62 commit 5712066
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions GameEngine/src/Network/Connection/Connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ class Connection {
}
}

void RemovePacketNeedAck(uint64_t id) {
void RemovePacketNeedAck(uint64_t id) {
try {
_packetNeedAck.erase(id);
_packetNeedAck.erase(id);
} catch (std::exception &e) {
EXODIA_CORE_ERROR("Error: {0}", e.what());
}
Expand Down
4 changes: 1 addition & 3 deletions R-Type/src/System/ClockSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ namespace RType {
void ClockSystem::Update(World *world, Timestep ts) {

world->LockMutex();
world->ForEach<Clock>([&](Entity *entity, auto clock) {
clock->ElapsedTime += ts;
});
world->ForEach<Clock>([&](Entity *entity, auto clock) { clock->ElapsedTime += ts; });
world->UnlockMutex();
}
}; // namespace RType

0 comments on commit 5712066

Please sign in to comment.