fix(multiplayer): dispatch live abandonment lifecycle

This commit is contained in:
Josh Creek
2026-09-03 20:55:56 +01:00
parent bd93a2657e
commit 947fefc95c
5 changed files with 62 additions and 5 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ func TestLiveAbandonmentSQLPreservesResultRosterAndReconnectFences(t *testing.T)
liveAbandonmentParticipantSQL: {"SET abandoned_at", "participation_active", "abandoned_at IS NULL", "RETURNING"},
liveAbandonmentPenaltySQL: {"MATCH_ABANDONED", "ON CONFLICT"},
liveAbandonmentRevisionSQL: {"state = 'LIVE'", "revision = revision + 1"},
liveAbandonmentOutboxSQL: {"participant_abandoned", "revision"},
liveAbandonmentOutboxSQL: {"state_changed", "revision"},
liveAbandonmentTargetsSQL: {"participation_active", "ORDER BY player_id"},
} {
for _, fragment := range fragments {
if !strings.Contains(query, fragment) {