Commit 7f49fd18 authored by nanahira's avatar nanahira

fix missing finalize

parent 3792bc9d
...@@ -545,6 +545,10 @@ export class Room { ...@@ -545,6 +545,10 @@ export class Room {
} }
client.roomName = undefined; client.roomName = undefined;
if (!this.allPlayers.find((p) => !p.isInternal)) {
return this.finalize();
}
} }
@RoomMethod() @RoomMethod()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment