mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Set default value for reversed_heading property
Prevent breaking the save compat.
This commit is contained in:
parent
92992fc068
commit
e874f47920
@ -57,7 +57,7 @@ class GroundUnitType(UnitType[Type[VehicleType]]):
|
|||||||
|
|
||||||
# Defines if we should place the ground unit with an inverted heading.
|
# Defines if we should place the ground unit with an inverted heading.
|
||||||
# Some units like few Launchers have to be placed backwards to be able to fire.
|
# Some units like few Launchers have to be placed backwards to be able to fire.
|
||||||
reversed_heading: bool
|
reversed_heading: bool = False
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def named(cls, name: str) -> GroundUnitType:
|
def named(cls, name: str) -> GroundUnitType:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user