changeset 12968 | 544c4302efe4 |
parent 12967 | 52c12029c7bd |
child 12969 | a5c5fe878a4e |
--- a/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua Sat Feb 10 18:03:12 2018 +0100 +++ b/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua Sat Feb 10 19:30:51 2018 +0100 @@ -578,6 +578,15 @@ if endTurn then EndTurn(true) end + if trackFinished then + for i=0, wpCount-1 do + SetVisualGearValues(wpCirc[i], nil, nil, 255, 255, nil, 2) + end + else + for i=0, wpCount-1 do + SetVisualGearValues(wpCirc[i], nil, nil, 32, 32, nil, 1) + end + end end end