mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Fix bug in deck!
where it was trying to access the caller crate
This commit is contained in:
parent
d879141da8
commit
1dfa9d97b7
1 changed files with 2 additions and 2 deletions
|
@ -484,9 +484,9 @@ pub type DeckEncodingResult<T> = Result<T, DeckEncodingError>;
|
|||
#[macro_export]
|
||||
macro_rules! deck {
|
||||
[$($cd:literal: $qty:literal),* $(,)?] => {
|
||||
crate::data::deckcode::deck::Deck {
|
||||
$crate::data::deckcode::deck::Deck {
|
||||
contents: std::collections::HashMap::from([
|
||||
$((crate::data::setbundle::code::CardCode { full: $cd.to_string() }, $qty),)*
|
||||
$(($crate::data::setbundle::code::CardCode { full: $cd.to_string() }, $qty),)*
|
||||
])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue