From f0eefa575c2f63821a2d2d43b2948350a68c8682 Mon Sep 17 00:00:00 2001 From: oldnapalm <38410858+oldnapalm@users.noreply.github.com> Date: Sun, 22 Oct 2023 18:59:19 -0300 Subject: [PATCH] Always sync player ped --- RageCoop.Client/Networking/Receive.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RageCoop.Client/Networking/Receive.cs b/RageCoop.Client/Networking/Receive.cs index b92c6d4..fcea653 100644 --- a/RageCoop.Client/Networking/Receive.cs +++ b/RageCoop.Client/Networking/Receive.cs @@ -306,7 +306,7 @@ namespace RageCoop.Client if (c == null) { // Main.Logger.Debug($"Creating character for incoming sync:{packet.ID}"); - if (EntityPool.allPeds.Length < Main.Settings.GlobalPedSoftLimit) + if (EntityPool.allPeds.Length < Main.Settings.GlobalPedSoftLimit || PlayerList.Players.ContainsKey(packet.ID)) EntityPool.ThreadSafe.Add(c = new SyncedPed(packet.ID)); else return; }