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