Fixed a bug.
This commit is contained in:
parent
9e973f6426
commit
20e06e572e
|
@ -92,6 +92,9 @@ class ArrowBlock(Block):
|
||||||
if self.frame == len(self.level.imgs[self.anim]) - 1:
|
if self.frame == len(self.level.imgs[self.anim]) - 1:
|
||||||
self.movable = self.blocking = False
|
self.movable = self.blocking = False
|
||||||
self.z = -48
|
self.z = -48
|
||||||
|
if self.holder:
|
||||||
|
self.holder.holding = None
|
||||||
|
self.holder = None
|
||||||
else:
|
else:
|
||||||
self.movable = self.blocking = True
|
self.movable = self.blocking = True
|
||||||
self.z = 0
|
self.z = 0
|
||||||
|
|
Loading…
Reference in New Issue