# HG changeset patch # User Wuzzy # Date 1555682367 -7200 # Node ID 828dad84b9683537cc38a5633935b01fb6aabf25 # Parent 16d5951d4044f2b64830626c63c3306688f32783 SimpleMission: Fix incorrect documentation for distGearGear and distGearPos diff -r 16d5951d4044 -r 828dad84b968 share/hedgewars/Data/Scripts/SimpleMission.lua --- a/share/hedgewars/Data/Scripts/SimpleMission.lua Fri Apr 19 15:58:42 2019 +0200 +++ b/share/hedgewars/Data/Scripts/SimpleMission.lua Fri Apr 19 15:59:27 2019 +0200 @@ -161,14 +161,14 @@ - type="distGearPos" Distance between a gear and a fixed position FAIL CONDITION: Gear destroyed - distance goal distance to compare to - - relationship "greaterThan" or "lowerThan" + - relationship "greaterThan" or "smallerThan" - id gear to watch - x x coordinate to reach - y y coordinate to reach - type="distGearGear" Distance between two gears FAIL CONDITION: Any of both gears destroyed - distance goal distance to compare to - - relationship "greaterThan" or "lowerThan" + - relationship "greaterThan" or "smallerThan" - id1 first gear to compare - id2 second gear to compare - type="damage" Gear took damage or was destroyed