mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
changes to the export of state.json :
- dcsLiberation.installPath does not include "state.json" anymore - corrected behavior : - try LIBERATION_EXPORT_DIR - then try dcsLiberation.installPath - then try TEMP - then try working directory - corrected multiple bugs in dcs_liberation.lua - corrected bad string.format causing DCS crashes in jtacautolase-config.lua
This commit is contained in:
@@ -358,7 +358,7 @@ class Operation:
|
||||
# set a LUA table with data from Liberation that we want to set
|
||||
# at the moment it contains Liberation's install path, and an overridable definition for the JTACAutoLase function
|
||||
# later, we'll add data about the units and points having been generated, in order to facilitate the configuration of the plugin lua scripts
|
||||
state_location = "[[" + os.path.abspath("state.json") + "]]"
|
||||
state_location = "[[" + os.path.abspath(".") + "]]"
|
||||
lua = """
|
||||
-- setting configuration table
|
||||
env.info("DCSLiberation|: setting configuration table")
|
||||
|
||||
Reference in New Issue
Block a user