Set default value for reversed_heading property

Prevent breaking the save compat.
This commit is contained in:
RndName 2022-05-12 16:35:46 +02:00
parent 92992fc068
commit e874f47920
No known key found for this signature in database
GPG Key ID: 5EF516FD9537F7C0

View File

@ -57,7 +57,7 @@ class GroundUnitType(UnitType[Type[VehicleType]]):
# 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.
reversed_heading: bool
reversed_heading: bool = False
@classmethod
def named(cls, name: str) -> GroundUnitType: