Fix briefing generation, missing line break

This commit is contained in:
Khopa 2019-12-04 19:39:04 +01:00
parent 7c45177650
commit 1320a67e1f

View File

@ -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"