Fix briefing text being wrong

This commit is contained in:
Khopa 2019-12-04 19:42:46 +01:00
parent 1320a67e1f
commit e794446a54

View File

@ -45,7 +45,7 @@ class BriefingGenerator:
self.description += "#0 -- TAKEOFF : Take off\n"
for i, wpt in enumerate(flight.points):
self.description += "#" + str(1+i) + " -- " + wpt.name + " : " + wpt.description + "\n"
self.description += "# " + str(len(flight.points)) + " -- RTB\n"
self.description += "#" + str(len(flight.points) + 1) + " -- RTB\n"
self.description += "-" * 50 + "\n"