From 07128bb5e6f416001401aedc723c7fba933c07e1 Mon Sep 17 00:00:00 2001 From: Vasiliy Horbachenko Date: Tue, 17 Jul 2018 05:53:55 +0300 Subject: [PATCH] fixed capture issue when two or more points were attacking the base --- game/event/capture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/event/capture.py b/game/event/capture.py index 2d44a5d5..304895c4 100644 --- a/game/event/capture.py +++ b/game/event/capture.py @@ -41,7 +41,7 @@ class CaptureEvent(Event): self.to_cp.base.affect_strength(+self.STRENGTH_RECOVERY) def skip(self): - if self.to_cp.captured: + if not self.is_player_attacking and self.to_cp.captured: self.to_cp.captured = False def player_defending(self, interceptors: db.PlaneDict, clients: db.PlaneDict):