mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Forgot to run local checks -_-
This commit is contained in:
parent
04876c8c66
commit
0de4b01917
@ -3,7 +3,6 @@ from __future__ import annotations
|
|||||||
from typing import TYPE_CHECKING, Any
|
from typing import TYPE_CHECKING, Any
|
||||||
|
|
||||||
from dcs.countries import countries_by_name
|
from dcs.countries import countries_by_name
|
||||||
|
|
||||||
from game.ato.packagewaypoints import PackageWaypoints
|
from game.ato.packagewaypoints import PackageWaypoints
|
||||||
from game.data.doctrine import MODERN_DOCTRINE, COLDWAR_DOCTRINE, WWII_DOCTRINE
|
from game.data.doctrine import MODERN_DOCTRINE, COLDWAR_DOCTRINE, WWII_DOCTRINE
|
||||||
from game.theater import SeasonalConditions
|
from game.theater import SeasonalConditions
|
||||||
@ -121,7 +120,7 @@ class Migrator:
|
|||||||
if isinstance(c.faction.country, str):
|
if isinstance(c.faction.country, str):
|
||||||
c.faction.country = countries_by_name[c.faction.country]()
|
c.faction.country = countries_by_name[c.faction.country]()
|
||||||
|
|
||||||
def _update_weather(self):
|
def _update_weather(self) -> None:
|
||||||
a = self.game.conditions.weather.atmospheric
|
a = self.game.conditions.weather.atmospheric
|
||||||
try_set_attr(a, "turbulence_per_10cm", 0.1)
|
try_set_attr(a, "turbulence_per_10cm", 0.1)
|
||||||
sc = self.game.theater.seasonal_conditions
|
sc = self.game.theater.seasonal_conditions
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user