1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-23 01:54:22 +00:00

Allow u32::try_from::<CardSet> to work on CardSet::TheDarkinSaga

This commit is contained in:
Steffo 2022-10-18 09:41:14 +00:00 committed by GitHub
parent 75279c8ba7
commit 8978ccd82e
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,6 +122,7 @@ impl TryFrom<CardSet> for u32 {
CardSet::EmpiresOfTheAscended => Ok(4), CardSet::EmpiresOfTheAscended => Ok(4),
CardSet::BeyondTheBandlewood => Ok(5), CardSet::BeyondTheBandlewood => Ok(5),
CardSet::Worldwalker => Ok(6), CardSet::Worldwalker => Ok(6),
CardSet::TheDarkinSaga => Ok(6),
_ => Err(()), _ => Err(()),
} }
} }