mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix briefing generation, missing line break
This commit is contained in:
parent
7c45177650
commit
1320a67e1f
@ -42,10 +42,10 @@ class BriefingGenerator:
|
|||||||
self.description += 2 * "\n" + "-" * 50 + "\n"
|
self.description += 2 * "\n" + "-" * 50 + "\n"
|
||||||
self.description += flight_unit_name + " x " + str(flight.count) + 2 * "\n"
|
self.description += flight_unit_name + " x " + str(flight.count) + 2 * "\n"
|
||||||
|
|
||||||
self.description += "# 0 -- TAKEOFF : Take off"
|
self.description += "# 0 -- TAKEOFF : Take off\n"
|
||||||
for i, wpt in enumerate(flight.points):
|
for i, wpt in enumerate(flight.points):
|
||||||
self.description += "#" + str(1+i) + " -- " + wpt.name + " : " + wpt.description + "\n"
|
self.description += "#" + str(1+i) + " -- " + wpt.name + " : " + wpt.description + "\n"
|
||||||
self.description += "# " + str(len(flight.points)) + " -- RTB"
|
self.description += "# " + str(len(flight.points)) + " -- RTB\n"
|
||||||
|
|
||||||
self.description += "-" * 50 + "\n"
|
self.description += "-" * 50 + "\n"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user