diff --git a/server/gframe/deck_manager.h b/server/gframe/deck_manager.h index 4657cfd..468bc82 100644 --- a/server/gframe/deck_manager.h +++ b/server/gframe/deck_manager.h @@ -17,7 +17,13 @@ #endif #ifndef YGOPRO_MAX_EXTRA -#define YGOPRO_MAX_EXTRA 15 +// [YGOL] TICKET-059: the stock 15 is a SILENT truncation in DeckManager::LoadDeck -- +// extra cards past the cap are dropped while the deck is RECEIVED, before any rule +// check, so noCheck=T cannot save them. This fork does not limit the extra deck at +// all, so the number just has to be out of the way: 99 matches the client default +// (YGOLegacy.Services.DeckLimits.ExtraDeckDefault) and stays far below MAINC_MAX +// (250), which is what actually bounds main+extra in single_duel/tag_duel. +#define YGOPRO_MAX_EXTRA 99 #endif #ifndef YGOPRO_MAX_SIDE