We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78baa50 commit 63cd1a8Copy full SHA for 63cd1a8
src/matches/matches.controller.ts
@@ -418,7 +418,11 @@ export class MatchesController {
418
throw Error("unable to find match");
419
}
420
421
- if (status === "Live" && data.old.status !== "WaitingForServer") {
+ if (
422
+ (status === "Live" && data.old.status !== "WaitingForServer") ||
423
+ (status === "WaitingForServer" &&
424
+ data.old.server_id !== data.new.server_id)
425
+ ) {
426
if (match.server) {
427
if (match.server.reserved_by_match_id === matchId) {
428
return;
0 commit comments