Fix RemotePlayer npe
This commit is contained in:
parent
634ec2fe7c
commit
088d236fe0
@ -26,7 +26,7 @@ namespace NeonTea.Quakeball.Player {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void Update() {
|
private void Update() {
|
||||||
if (Time.time - LastUpdateTime >= 1f / Player.UpdateFrequency) {
|
if (Time.time - LastUpdateTime >= 1f / Player.UpdateFrequency && QueuedPckt != null) {
|
||||||
ProcessPacket(ref QueuedPckt);
|
ProcessPacket(ref QueuedPckt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user