equal
deleted
inserted
replaced
295 wpRem = wpRem + 1 |
295 wpRem = wpRem + 1 |
296 end |
296 end |
297 end |
297 end |
298 |
298 |
299 if wpActive[i] == false then |
299 if wpActive[i] == false then |
300 AddCaption(string.format(loc("Waypoints remaining: %d"), wpRem-1),0xffba00ff,capgrpGameState) |
300 local wpMessage = "" |
|
301 if wpRem-1 == 0 then |
|
302 wpMessage = loc("Track completed!") |
|
303 else |
|
304 wpMessage = string.format(loc("Waypoints remaining: %d"), wpRem-1) |
|
305 end |
|
306 AddCaption(wpMessage, 0xffba00ff, capgrpGameState) |
301 end |
307 end |
302 wpActive[i] = true |
308 wpActive[i] = true |
303 |
309 |
304 end |
310 end |
305 |
311 |