Made condition more consistent📄
This commit is contained in:
@ -460,7 +460,7 @@ pub fn transfer_dead_card(
|
||||
(&mut game_state.discard_pile, &mut game_state.shadow_realm)
|
||||
};
|
||||
|
||||
if pile_index >= source.len() {
|
||||
if None == source.get(pile_index) {
|
||||
let direction = if shadow_to_discard {
|
||||
"shadow realm -> discard pile"
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user