mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Cache liveries at startup
This commit is contained in:
parent
21eff6cb87
commit
6c87421c26
@ -12,6 +12,7 @@ from PySide2 import QtWidgets
|
||||
from PySide2.QtCore import Qt
|
||||
from PySide2.QtGui import QPixmap
|
||||
from PySide2.QtWidgets import QApplication, QCheckBox, QSplashScreen
|
||||
from dcs.liveries.liverycache import LiveryCache
|
||||
from dcs.payloads import PayloadDirectories
|
||||
|
||||
from game import Game, VERSION, logging_config, persistency
|
||||
@ -434,6 +435,8 @@ def main():
|
||||
|
||||
load_mods()
|
||||
|
||||
LiveryCache.cache()
|
||||
|
||||
if args.subcommand == "new-game":
|
||||
with logged_duration("New game creation"):
|
||||
game = create_game(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user