share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 13124 991db8fc45eb
parent 13103 cf2a58dccc4a
child 13129 9a328734e469
equal deleted inserted replaced
13123:11f23afd84f2 13124:991db8fc45eb
   664 	SendGameResultOff()
   664 	SendGameResultOff()
   665 	SendRankingStatsOff()
   665 	SendRankingStatsOff()
   666         SendHealthStatsOff()
   666         SendHealthStatsOff()
   667 	SendAchievementsStatsOff()
   667 	SendAchievementsStatsOff()
   668 
   668 
       
   669         SetSoundMask(sndIncoming, true)
       
   670         SetSoundMask(sndMissed, true)
       
   671 
   669         roundN = 0
   672         roundN = 0
   670         lastRound = TotalRounds
   673         lastRound = TotalRounds
   671         RoundHasChanged = false
   674         RoundHasChanged = false
   672 
   675 
   673 	if GetBackgroundBrightness() == 1 then
   676 	if GetBackgroundBrightness() == 1 then
   733 
   736 
   734             wpCount = wpCount + 1
   737             wpCount = wpCount + 1
   735 
   738 
   736             if placedByUser then
   739             if placedByUser then
   737                 AddCaption(string.format(loc("Waypoint placed. Available points remaining: %d"), wpLimit-wpCount))
   740                 AddCaption(string.format(loc("Waypoint placed. Available points remaining: %d"), wpLimit-wpCount))
       
   741                 PlaySound(sndPlaced)
   738             end
   742             end
   739         end
   743         end
   740     end
   744     end
   741 end
   745 end
   742 
   746