mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 10:04:21 +00:00
Allow u32::try_from::<CardSet>
to work on CardSet::TheDarkinSaga
This commit is contained in:
parent
75279c8ba7
commit
8978ccd82e
1 changed files with 1 additions and 0 deletions
|
@ -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(()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue