feat: Implement private room cloning and instance management; ensure cloned rooms start private and funnel joins into a single instance

This commit is contained in:
Alexa
2026-07-13 12:10:12 +03:00
parent 690e77f520
commit 6ee018b844
7 changed files with 370 additions and 2 deletions
+3 -1
View File
@@ -1029,7 +1029,9 @@ public class RoomService(DorkNetDbContext db)
CreatorPlayerId = playerId,
ImageName = "",
State = 0,
Accessibility = source.Accessibility,
// Clones start private — same rule as BareClone; the owner
// publishes explicitly when ready.
Accessibility = 0,
SupportsLevelVoting = source.SupportsLevelVoting,
// User-cloned rooms are NOT AG-managed: the AG flag means
// "owned by the Against Gravity seed account, baked into