From 85081e1da7582e905fa499f8d14197dc4d7b8fdd Mon Sep 17 00:00:00 2001 From: Edmand46 Date: Sun, 11 Sep 2022 15:05:32 +0400 Subject: [PATCH] fix: replication entity event --- Ragon/Sources/Game/GameRoom.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ragon/Sources/Game/GameRoom.cs b/Ragon/Sources/Game/GameRoom.cs index b1d24a2..b447d69 100755 --- a/Ragon/Sources/Game/GameRoom.cs +++ b/Ragon/Sources/Game/GameRoom.cs @@ -352,7 +352,7 @@ namespace Ragon.Core _serializer.WriteData(ref payload); var sendData = _serializer.ToArray(); - Broadcast(_readyPlayers, sendData, DeliveryType.Reliable); + SendEvent(ent, targetMode, sendData); break; } case RagonOperation.CREATE_ENTITY: