equal
deleted
inserted
replaced
442 loc("CHALLENGE COMPLETE"), |
442 loc("CHALLENGE COMPLETE"), |
443 loc("Congratulations!"), |
443 loc("Congratulations!"), |
444 string.format(loc("Planes used: %d"), planesUsed) .. "|" .. |
444 string.format(loc("Planes used: %d"), planesUsed) .. "|" .. |
445 "", 0, 0 |
445 "", 0, 0 |
446 ) |
446 ) |
|
447 PlaySound(sound, player) |
|
448 |
|
449 EndGame() |
447 SetState(player, gstWinner) |
450 SetState(player, gstWinner) |
448 PlaySound(sound, player) |
|
449 |
|
450 |
|
451 DismissTeam(playerTeamName) |
|
452 EndGame() |
|
453 end |
451 end |
454 |
452 |
455 if RCGear ~= nil then |
453 if RCGear ~= nil then |
456 SetTimer(RCGear, GetTimer(RCGear) + 10000) |
454 SetTimer(RCGear, GetTimer(RCGear) + 10000) |
457 end |
455 end |