Packet write now only warns when a a packet is huge

This commit is contained in:
Jocke
2016-03-03 13:29:45 +01:00
parent cb7beae28c
commit a9b19d9af1
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ void PlayerMovementSystem::Update(double dt)
{
updateMovementControllers(dt);
// Only do physics calculations on client and only for themselves.
if (!IsServer && LocalPlayer.Valid()) {
if (IsClient && LocalPlayer.Valid()) {
updateVelocity(LocalPlayer, dt);
}
}