fix: user data changes not cleared

This commit is contained in:
2025-12-28 20:12:21 +03:00
parent 7c3a2dab89
commit 5937e026eb
4 changed files with 5 additions and 3 deletions
@@ -16,8 +16,9 @@ public class RagonLobbyDispatcher
{
writer.Clear();
writer.WriteOperation(RagonOperation.ROOM_LIST_UPDATED);
var rooms = _lobby.Rooms;
if (projectId > 0)
{
rooms = rooms.Where(r => r.ProjectId == projectId).ToList();
+1 -2
View File
@@ -148,8 +148,7 @@ public class RagonRoom : IRagonRoom, IRagonAction
RagonTarget targetMode
)
{
if (eventMode == RagonReplicationMode.Buffered && targetMode != RagonTarget.Owner &&
_bufferedEvents.Count < _limitBufferedEvents)
if (eventMode == RagonReplicationMode.Buffered && targetMode != RagonTarget.Owner && _bufferedEvents.Count < _limitBufferedEvents)
{
_bufferedEvents.Add(evnt);
}