From b336bfb5dcbb3065a6d81a1f4e8a04d6dee697cb Mon Sep 17 00:00:00 2001 From: f0Re3t Date: Sun, 8 Sep 2024 13:43:42 +0300 Subject: [PATCH] Fix SetPlayerSkin (add custom skin without DL client) for mobile clients Fix SetPlayerSkin (add custom skin without DL client) for mobile clients --- Shared/NetCode/core.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Shared/NetCode/core.hpp b/Shared/NetCode/core.hpp index c571f967a..1849777d7 100644 --- a/Shared/NetCode/core.hpp +++ b/Shared/NetCode/core.hpp @@ -748,7 +748,9 @@ namespace RPC bs.writeUINT16(PlayerID); bs.writeUINT32(Skin); - bs.writeUINT32(CustomSkin); + + if (isDL) + bs.writeUINT32(CustomSkin); } };