diff --git a/GameEngine/src/Network/Connection/Connection.hpp b/GameEngine/src/Network/Connection/Connection.hpp index c76af40d..8d974c38 100644 --- a/GameEngine/src/Network/Connection/Connection.hpp +++ b/GameEngine/src/Network/Connection/Connection.hpp @@ -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()); } diff --git a/R-Type/src/System/ClockSystem.cpp b/R-Type/src/System/ClockSystem.cpp index 69f7f4dc..9c617a32 100644 --- a/R-Type/src/System/ClockSystem.cpp +++ b/R-Type/src/System/ClockSystem.cpp @@ -19,9 +19,7 @@ namespace RType { void ClockSystem::Update(World *world, Timestep ts) { world->LockMutex(); - world->ForEach([&](Entity *entity, auto clock) { - clock->ElapsedTime += ts; - }); + world->ForEach([&](Entity *entity, auto clock) { clock->ElapsedTime += ts; }); world->UnlockMutex(); } }; // namespace RType \ No newline at end of file