return if target is hit

This commit is contained in:
Jonas Zeunert
2022-05-06 00:00:56 +02:00
parent 18b8e4afda
commit ca4430e1b7

View File

@@ -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