mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix exception after new payload file was saved
When a new payload file would be saved, the subsequent flight would always throw an exception (until Retribution would be restarted) because the payload_cache wasn't updated until now.
This commit is contained in:
parent
09749bc088
commit
0cb3702eb9
@ -123,6 +123,7 @@ class QLoadoutEditor(QGroupBox):
|
||||
f.write("local unitPayloads = ")
|
||||
f.write(lua.dumps(payloads, indent=1))
|
||||
f.write("\nreturn unitPayloads")
|
||||
self.flight.unit_type.dcs_unit_type.add_to_payload_cache(payload_file)
|
||||
self.saved.emit(payload_name)
|
||||
QMessageBox.information(
|
||||
QWidget(),
|
||||
|
||||
@ -32,7 +32,7 @@ pluggy==1.2.0
|
||||
pre-commit==3.3.3
|
||||
pydantic==2.0.3
|
||||
pydantic-settings==2.0.2
|
||||
-e git+https://github.com/dcs-retribution/pydcs@b764ed61a800d95bb0db1fdb3687b393be45106d#egg=pydcs
|
||||
-e git+https://github.com/dcs-retribution/pydcs@b2617f0fbeacd2e3b6066383ea9fd15a155eacb2#egg=pydcs
|
||||
pyinstaller==5.13.0
|
||||
pyinstaller-hooks-contrib==2023.5
|
||||
pyparsing==3.1.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user