mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Move mod vehicle registration to a decorator.
This cruft doesn't need to be in game.db, it can be kept with the mod support code.
This commit is contained in:
@@ -4,6 +4,7 @@ from dcs import task
|
||||
from dcs.planes import PlaneType
|
||||
from dcs.weapons_data import Weapons
|
||||
|
||||
from game.modsupport import planemod
|
||||
from pydcs_extensions.weapon_injector import inject_weapons
|
||||
|
||||
|
||||
@@ -439,6 +440,7 @@ class WeaponsA4EC:
|
||||
inject_weapons(WeaponsA4EC)
|
||||
|
||||
|
||||
@planemod
|
||||
class A_4E_C(PlaneType):
|
||||
id = "A-4E-C"
|
||||
flyable = True
|
||||
|
||||
Reference in New Issue
Block a user