fix: improve endgame clock and gameplay stability

This commit is contained in:
CAtlas0784 committed 2026-11-04 15:59:48 +07:00
1 parent ce6aabfc55
commit 658298ee86
46 files changed
+1915 -99

No files matched your search

+5 -2
View File
@@ -25,12 +25,15 @@ func TestClientRelicCatalogFiltersUnsupportedInventoryEntries(t *testing.T) {
{RelicID: validID, InternalUID: 1},
{RelicID: 71011, InternalUID: 2},
{RelicID: 63295, InternalUID: 3},
{RelicID: 63296, InternalUID: 4},
{RelicID: 63305, InternalUID: 5},
{RelicID: 63306, InternalUID: 6},
})
if err != nil {
t.Fatal(err)
}
if len(got) != 1 || got[0].Tid != validID || omitted != 2 {
t.Fatalf("filtered Relics = %+v, omitted %d; want only Client-supported ID %d", got, omitted, validID)
if len(got) != 5 || got[0].Tid != validID || omitted != 1 {
t.Fatalf("filtered Relics = %+v, omitted %d; want five Client-supported IDs", got, omitted)
}
}