mirror of
https://github.com/CannedNet/CannedNet.git
synced 2026-10-27 07:58:59 -07:00
h
This commit is contained in:
@@ -115,6 +115,8 @@ 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
|
||||||
@@ -135,7 +137,9 @@ 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