share/hedgewars/Data/Scripts/Multiplayer/The_Specialists.lua
changeset 10289 c3a77ff02a23
parent 10036 3be36d2fdca6
child 11301 fa18940f290d
--- a/share/hedgewars/Data/Scripts/Multiplayer/The_Specialists.lua	Thu Jun 12 19:40:45 2014 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/The_Specialists.lua	Thu Jun 12 20:47:11 2014 +0200
@@ -243,7 +243,7 @@
 					AddAmmo(CurrentHedgehog, amSwitch, 1)
 
 				elseif switchStage == 2 then
-					ParseCommand("setweap " .. string.char(amSwitch))
+					SetWeapon(amSwitch)
 				elseif switchStage == 3 then
 					SetGearMessage(CurrentHedgehog,gmAttack)
 				elseif switchStage == 4 then