diff --git a/changelog.md b/changelog.md index daaae532..1829d2fa 100644 --- a/changelog.md +++ b/changelog.md @@ -11,6 +11,14 @@ Saves from 3.x are not compatible with 4.0. ## Fixes +# 3.1.0 + +## Features/Improvements + +## Fixes + +* Fixed problem with mission load when control point name contained an apostrophe. + # 3.0.0 Saves from 2.5 are not compatible with 3.0. diff --git a/game/operation/operation.py b/game/operation/operation.py index 5a4f7c3b..9dff4d51 100644 --- a/game/operation/operation.py +++ b/game/operation/operation.py @@ -578,8 +578,7 @@ class Operation: zone = data["zone"] laserCode = data["laserCode"] dcsUnit = data["dcsUnit"] - lua += f" {{dcsGroupName='{dcsGroupName}', callsign='{callsign}', zone='{zone}', laserCode='{laserCode}', dcsUnit='{dcsUnit}' }}, \n" - # lua += f" {{name='{dcsGroupName}', description='JTAC {callsign} ', information='Laser:{laserCode}', jtac={laserCode} }}, \n" + lua += f" {{dcsGroupName='{dcsGroupName}', callsign='{callsign}', zone={repr(zone)}, laserCode='{laserCode}', dcsUnit='{dcsUnit}' }}, \n" lua += "}" # Process the Target Points