share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 13690 09ea1faf97ca
parent 13635 fe7d2bbf5f3f
child 13774 e874bfe563c7
child 13844 2fceeea62b10
--- a/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Tue Aug 21 22:31:50 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Tue Aug 21 22:52:46 2018 +0200
@@ -612,9 +612,8 @@
 
                 fastIndex = fastIndex + 1
 
-                tempE = AddVisualGear(fastX[fastIndex], fastY[fastIndex], vgtSmoke, 0, false)
-                g1, g2, g3, g4, g5, g6, g7, g8, g9, g10 = GetVisualGearValues(tempE)
-                SetVisualGearValues(tempE, g1, g2, g3, g4, g5, g6, g7, g8, g9, fastColour )
+                local tempE = AddVisualGear(fastX[fastIndex], fastY[fastIndex], vgtSmoke, 0, false)
+                SetVisualGearValues(tempE, nil, nil, nil, nil, nil, nil, nil, nil, nil, fastColour )
 
         end