mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 08:23:45 +00:00
fix(multiplayer): dispatch live abandonment lifecycle
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user