bug correction in the JTACautolase LUA config

This commit is contained in:
David Pierron
2020-10-20 23:02:46 +02:00
parent 41d5020467
commit 44c976948d
3 changed files with 9 additions and 16 deletions

View File

@@ -369,12 +369,6 @@ dcsLiberation = {}
-- the base location for state.json; if non-existent, it'll be replaced with LIBERATION_EXPORT_DIR, TEMP, or DCS working directory
dcsLiberation.installPath=""" + state_location + """
-- you can override dcsLiberation.JTACAutoLase to make it use your own function ; it will be called with these parameters : ({jtac.unit_name}, {jtac.code}, {smoke}, 'vehicle') for all JTACs
if ctld then
dcsLiberation.JTACAutoLase=ctld.JTACAutoLase
elseif JTACAutoLase then
dcsLiberation.JTACAutoLase=JTACAutoLase
end
"""
# Process the tankers
lua += """