Made condition more consistent📄

This commit is contained in:
Seoxi Ryouko
2025-03-02 07:56:35 -06:00
parent 159126e7ca
commit 67cc148bb8

View File

@ -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 {