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