Puzzles
This commit is contained in:
@@ -181,6 +181,9 @@ public class DeckController : SVSimController
|
||||
if (skin is not null) deck.LeaderSkin = skin;
|
||||
deck.RandomLeaderSkin = request.IsRandomLeaderSkin;
|
||||
deck.Cards = cards;
|
||||
// Clear stale rotation_id if the deck moved to a non-MyRotation format;
|
||||
// otherwise persist the chosen period so it survives the next /load/index.
|
||||
deck.MyRotationId = format == Format.MyRotation ? request.RotationId : null;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user