Fix off by one in briefing waypoint numbers.

Fixes https://github.com/Khopa/dcs_liberation/issues/441
This commit is contained in:
Dan Albert 2020-11-28 20:28:35 -08:00
parent 292ac42003
commit 7daefa8ae5
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ DCS Liberation 第 {{ game.turn }} 回合
{% for flight in flights if flight.client_units %} {% for flight in flights if flight.client_units %}
-------------------------------------------------- --------------------------------------------------
{{ flight.flight_type }} {{ flight.units[0].type }} x {{ flight.size }}, {{ flight.package.target.name}} {{ flight.flight_type }} {{ flight.units[0].type }} x {{ flight.size }}, {{ flight.package.target.name}}
{% for waypoint in flight.waypoints %}{{ loop.index }} -- {{waypoint.name}} : {{ waypoint.description}} {% for waypoint in flight.waypoints %}{{ loop.index0 }} -- {{waypoint.name}} : {{ waypoint.description}}
{% endfor %} {% endfor %}
--------------------------------------------------{% endfor %} --------------------------------------------------{% endfor %}

View File

@ -67,7 +67,7 @@ Your flights:
{% for flight in flights if flight.client_units %} {% for flight in flights if flight.client_units %}
-------------------------------------------------- --------------------------------------------------
{{ flight.flight_type }} {{ flight.units[0].type }} x {{ flight.size }}, {{ flight.package.target.name}} {{ flight.flight_type }} {{ flight.units[0].type }} x {{ flight.size }}, {{ flight.package.target.name}}
{% for waypoint in flight.waypoints %}{{ loop.index }} -- {{waypoint.name}} : {{ waypoint.description}} {% for waypoint in flight.waypoints %}{{ loop.index0 }} -- {{waypoint.name}} : {{ waypoint.description}}
{% endfor %} {% endfor %}
--------------------------------------------------{% endfor %} --------------------------------------------------{% endfor %}

View File

@ -67,7 +67,7 @@ Vols :
{% for flight in flights if flight.client_units %} {% for flight in flights if flight.client_units %}
-------------------------------------------------- --------------------------------------------------
{{ flight.flight_type }} {{ flight.units[0].type }} x {{ flight.size }}, {{ flight.package.target.name}} {{ flight.flight_type }} {{ flight.units[0].type }} x {{ flight.size }}, {{ flight.package.target.name}}
{% for waypoint in flight.waypoints %}{{ loop.index }} -- {{waypoint.name}} : {{ waypoint.description}} {% for waypoint in flight.waypoints %}{{ loop.index0 }} -- {{waypoint.name}} : {{ waypoint.description}}
{% endfor %} {% endfor %}
--------------------------------------------------{% endfor %} --------------------------------------------------{% endfor %}