mirror of
https://github.com/CannedNet/CannedNet.git
synced 2026-10-25 23:18:54 -07:00
@@ -115,8 +115,6 @@ public class MatchmakingService
|
|||||||
existingInstance.maxCapacity = maxCapacity;
|
existingInstance.maxCapacity = maxCapacity;
|
||||||
existingInstance.isFull = false;
|
existingInstance.isFull = false;
|
||||||
existingInstance.isPrivate = false;
|
existingInstance.isPrivate = false;
|
||||||
existingInstance.pendingJoin = true;
|
|
||||||
existingInstance.lastHeartbeat = DateTime.UtcNow;
|
|
||||||
instanceToUse = existingInstance;
|
instanceToUse = existingInstance;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -137,9 +135,7 @@ public class MatchmakingService
|
|||||||
isFull = false,
|
isFull = false,
|
||||||
isPrivate = roomData.RoomId == 1,
|
isPrivate = roomData.RoomId == 1,
|
||||||
isInProgress = false,
|
isInProgress = false,
|
||||||
EncryptVoiceChat = roomData.EncryptVoiceChat,
|
EncryptVoiceChat = roomData.EncryptVoiceChat
|
||||||
pendingJoin = true,
|
|
||||||
lastHeartbeat = DateTime.UtcNow
|
|
||||||
};
|
};
|
||||||
db.RoomInstances.Add(instanceToUse);
|
db.RoomInstances.Add(instanceToUse);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user