share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua
changeset 13685 09ea1faf97ca
parent 13583 141cdfe0f3ca
child 13742 2bb7141496a9
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua	Tue Aug 21 22:31:50 2018 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua	Tue Aug 21 22:52:46 2018 +0200
@@ -183,9 +183,8 @@
 	local y = GetY(gear) + 32 * i
 	local vgear = AddVisualGear(x, y, vgtAmmo, 0, true)
 	if vgear ~= nil then
-		local vgtX,vgtY,vgtdX,vgtdY,vgtAngle,vgtFrame,vgtFrameTicks,vgtState,vgtTimer,vgtTint = GetVisualGearValues(vgear)
 		local vgtFrame = ammoType
-		SetVisualGearValues(vgear,vgtX,vgtY,vgtdX,vgtdY,vgtAngle,vgtFrame,vgtFrameTicks,vgtState,vgtTimer,vgtTint)
+		SetVisualGearValues(vgear,nil,nil,nil,nil,nil,vgtFrame)
 	end
 end