share/hedgewars/Data/Missions/Training/Basic_Training_-_Grenade.lua
changeset 10289 c3a77ff02a23
parent 8043 da083f8d95e6
child 10290 42efccba0711
--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Grenade.lua	Thu Jun 12 19:40:45 2014 +0200
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Grenade.lua	Thu Jun 12 20:47:11 2014 +0200
@@ -107,7 +107,7 @@
 end
 
 function onNewTurn()
-	ParseCommand("setweap " .. string.char(amGrenade))
+	SetWeapon(amGrenade)
 end
 
 -- This function is called every game tick.