mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07128bb5e6 |
@@ -41,7 +41,7 @@ class CaptureEvent(Event):
|
|||||||
self.to_cp.base.affect_strength(+self.STRENGTH_RECOVERY)
|
self.to_cp.base.affect_strength(+self.STRENGTH_RECOVERY)
|
||||||
|
|
||||||
def skip(self):
|
def skip(self):
|
||||||
if self.to_cp.captured:
|
if not self.is_player_attacking and self.to_cp.captured:
|
||||||
self.to_cp.captured = False
|
self.to_cp.captured = False
|
||||||
|
|
||||||
def player_defending(self, interceptors: db.PlaneDict, clients: db.PlaneDict):
|
def player_defending(self, interceptors: db.PlaneDict, clients: db.PlaneDict):
|
||||||
|
|||||||
Reference in New Issue
Block a user