mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
fixed capture issue when two or more points were attacking the base
This commit is contained in:
parent
3831658162
commit
07128bb5e6
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user