Fix ProcessSyncPacket

This commit is contained in:
Jens Pitkänen 2020-08-08 01:26:28 +03:00
parent 3b2c3adf35
commit cb7ce9bb87
1 changed files with 2 additions and 1 deletions

View File

@ -84,10 +84,11 @@ namespace NeonTea.Quakeball.Players {
bool ShouldApply = shouldApplyWithoutInspection;
if (!shouldApplyWithoutInspection) {
// TODO: Gaze into the crystal ball to determine the nefariousness level of the packet and update ShouldApply accordingly.
ShouldApply = true;
}
if (ShouldApply) {
transform.position = syncPckt.Location;
GroundVelocity = syncPckt.Location;
GroundVelocity = syncPckt.GroundVelocity;
}
return ShouldApply;
}