mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
fixes for selectable departure; generate statics for used units; raised RTB alt
This commit is contained in:
@@ -195,7 +195,7 @@ class EventMenu(Menu):
|
||||
return
|
||||
|
||||
if isinstance(self.event, FrontlineAttackEvent) or isinstance(self.event, FrontlinePatrolEvent):
|
||||
if self.base.total_armor == 0:
|
||||
if self.event.from_cp.base.total_armor == 0:
|
||||
self.error_label["text"] = "No ground vehicles available to attack!"
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user