mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
More adaptation for pydcs updates.
This is as much as we can do until pydcs actually adds the py.typed
file. Once that's added there are a few ugly monkey patching corners
that will just need `# type: ignore` for now, but we can't pre-add those
since we have mypy warning us about superfluous ignore comments.
(cherry picked from commit 96c7b87ac7)
This commit is contained in:
@@ -157,7 +157,7 @@ class ShipGroupGenerator(
|
||||
super().__init__(
|
||||
game,
|
||||
ground_object,
|
||||
unitgroup.ShipGroup(self.game.next_group_id(), self.go.group_name),
|
||||
unitgroup.ShipGroup(game.next_group_id(), ground_object.group_name),
|
||||
)
|
||||
self.faction = faction
|
||||
wp = self.vg.add_waypoint(self.position, 0)
|
||||
|
||||
Reference in New Issue
Block a user