Junkkah / Auto_battler

Python game project for a single-player auto battler
0 stars 0 forks source link

Second instance of Inv #7

Closed Junkkah closed 1 year ago

Junkkah commented 1 year ago

Inv state is entered each time heroes gain enough experience to gain a level. When entering Inv for second time, with one surviving hero, all three original heroes are drawn on the first hero spot. Probable cause is some Inv list not being cleared on cleanup.

Junkkah commented 1 year ago

Fixed with self.inventory_hero_sprites.empty() in Inv cleanup