Fix ProcessSyncPacket
This commit is contained in:
parent
3b2c3adf35
commit
cb7ce9bb87
@ -84,10 +84,11 @@ namespace NeonTea.Quakeball.Players {
|
|||||||
bool ShouldApply = shouldApplyWithoutInspection;
|
bool ShouldApply = shouldApplyWithoutInspection;
|
||||||
if (!shouldApplyWithoutInspection) {
|
if (!shouldApplyWithoutInspection) {
|
||||||
// TODO: Gaze into the crystal ball to determine the nefariousness level of the packet and update ShouldApply accordingly.
|
// TODO: Gaze into the crystal ball to determine the nefariousness level of the packet and update ShouldApply accordingly.
|
||||||
|
ShouldApply = true;
|
||||||
}
|
}
|
||||||
if (ShouldApply) {
|
if (ShouldApply) {
|
||||||
transform.position = syncPckt.Location;
|
transform.position = syncPckt.Location;
|
||||||
GroundVelocity = syncPckt.Location;
|
GroundVelocity = syncPckt.GroundVelocity;
|
||||||
}
|
}
|
||||||
return ShouldApply;
|
return ShouldApply;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user