return if target is hit
This commit is contained in:
@@ -6,6 +6,9 @@ class BankTarget(Target):
|
|||||||
self.is_hit = False
|
self.is_hit = False
|
||||||
|
|
||||||
def hit(self):
|
def hit(self):
|
||||||
|
if self.is_hit:
|
||||||
|
return
|
||||||
|
|
||||||
self.is_hit = True
|
self.is_hit = True
|
||||||
super().hit()
|
super().hit()
|
||||||
#notify Bank
|
#notify Bank
|
||||||
|
|||||||
Reference in New Issue
Block a user