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
|
||||
|
||||
|
||||
@@ -15,6 +16,7 @@ class F22AWeapons:
|
||||
inject_weapons(F22AWeapons)
|
||||
|
||||
|
||||
@planemod
|
||||
class F_22A(PlaneType):
|
||||
id = "F-22A"
|
||||
flyable = True
|
||||
|
||||
Reference in New Issue
Block a user