KiedusCracknell / L3Game-RealmGuard-Tower-Wars

1 stars 0 forks source link

list index out of range #4

Closed KiedusCracknell closed 1 year ago

KiedusCracknell commented 1 year ago

line 29, in draw self.img = self.imgs[self.animation_count]

KiedusCracknell commented 1 year ago

Fixed by incrementing the animation count AFTER choosing/loading first image and slowing down the animation/draw function considerably