diff -r e5554b06b68f -r 45db8e97d282 share/hedgewars/Data/Missions/Training/Shotgun.lua --- a/share/hedgewars/Data/Missions/Training/Shotgun.lua Wed Dec 08 15:10:38 2010 -0500 +++ b/share/hedgewars/Data/Missions/Training/Shotgun.lua Wed Dec 08 22:35:29 2010 +0100 @@ -174,7 +174,7 @@ AddTeam(loc(teamname), 14483456, "Simple", "Island", "Default") -- And add a hog to it player = AddHog(loc(hogname), 0, 1, "NoHat") - SetGearPosition(player, 2334, 1254); + SetGearPosition(player, 2334, 1254) end -- This function is called when the round starts @@ -190,7 +190,7 @@ -- A negative icon parameter (-n) represents the n-th weapon icon -- A positive icon paramter (n) represents the (n+1)-th mission icon -- A timeframe of 0 is replaced with the default time to show. - ShowMission(loc(caption), loc(subcaption), loc(goal), -amShotgun, 0); + ShowMission(loc(caption), loc(subcaption), loc(goal), -amShotgun, 0) end -- This function is called every game tick. @@ -204,9 +204,9 @@ if TurnTimeLeft == 1 and score < score_goal then game_lost = true -- ... and show a short message. - ShowMission(loc(caption), loc(subcaption), loc(timeout), -amSkip, 0); + ShowMission(loc(caption), loc(subcaption), loc(timeout), -amSkip, 0) -- How about killing our poor hog due to his poor performance? - SetHealth(player, 0); + SetHealth(player, 0) -- Just to be sure set the goal time to 1 ms time_goal = 1 end @@ -253,7 +253,7 @@ else if not game_lost then -- Otherwise show that the goal was accomplished - ShowMission(loc(caption), loc(subcaption), loc(success), 0, 0); + ShowMission(loc(caption), loc(subcaption), loc(success), 0, 0) -- Also let the hogs shout "victory!" PlaySound(sndVictory) -- Save the time left so we may keep it.