mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Restructure save games into a zipped bundle.
This is the first step toward bundling all assets related to a save game into a single item. That makes it easier to avoid clobbering "temporary" assets from other games like the state.json, but also makes it easier for players to file bug reports, since there's only a single asset to upload. This is only the first step because so far it only includes the various save files: start of turn, end of last turn before results processing, and "latest" (the game saved explicitly by the player).
This commit is contained in:
@@ -9,7 +9,7 @@ from dcs.helicopters import helicopter_map
|
||||
from dcs.planes import plane_map
|
||||
from dcs.unittype import FlyingType
|
||||
|
||||
from game import persistency
|
||||
from game import persistence
|
||||
from game.ato import FlightType
|
||||
from game.ato.loadouts import Loadout
|
||||
from game.dcs.aircrafttype import AircraftType
|
||||
@@ -122,7 +122,7 @@ def main() -> None:
|
||||
"the first run configuration."
|
||||
)
|
||||
|
||||
inject_custom_payloads(Path(persistency.base_path()))
|
||||
inject_custom_payloads(Path(persistence.base_path()))
|
||||
|
||||
if args.aircraft_id is None:
|
||||
show_all_aircraft(args.task)
|
||||
|
||||
Reference in New Issue
Block a user