mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
The changes for Skynet unfortunately broke this because the names used by the TGO and the name of the group itself were no longer in sync. This deserves a larger cleanup where we decouple that naming requirement (TGOs don't need a lot of the data they currently have), but this works until we have the time to do that. Fixes https://github.com/Khopa/dcs_liberation/issues/298
16 lines
438 B
Python
16 lines
438 B
Python
from abc import ABC
|
|
|
|
from game import Game
|
|
from gen.sam.group_generator import GroupGenerator
|
|
from theater.theatergroundobject import SamGroundObject
|
|
|
|
|
|
class GenericSamGroupGenerator(GroupGenerator, ABC):
|
|
"""
|
|
This is the base for all SAM group generators
|
|
"""
|
|
|
|
def __init__(self, game: Game, ground_object: SamGroundObject) -> None:
|
|
ground_object.skynet_capable = True
|
|
super().__init__(game, ground_object)
|