mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
pydcs_extensions.__init__ wasn't actually doing anything because without an __init__.py each of these "packages" was empty. This has been working by accident because of ai_flight_planner_db.py.
21 lines
531 B
Python
21 lines
531 B
Python
from .a4ec import *
|
|
from .f104 import *
|
|
from .f22a import *
|
|
from .f4 import *
|
|
from .frenchpack import *
|
|
from .hercules import *
|
|
from .highdigitsams import *
|
|
from .jas39 import *
|
|
from .ov10a import *
|
|
from .su57 import *
|
|
from .uh60l import *
|
|
|
|
|
|
def load_mods() -> None:
|
|
"""Loads all mods.
|
|
|
|
Note that this function doesn't *do* anything. Its purpose is to prevent editors
|
|
from removing `import pydcs_extensions` when it is "unused", because mod imports
|
|
have side effects (unit types are registered with pydcs).
|
|
"""
|