mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix off by one in briefing waypoint numbers.
Fixes https://github.com/Khopa/dcs_liberation/issues/441
This commit is contained in:
parent
292ac42003
commit
7daefa8ae5
@ -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 %}
|
||||||
|
|
||||||
|
|||||||
@ -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 %}
|
||||||
|
|
||||||
|
|||||||
@ -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 %}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user