share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua
changeset 10289 c3a77ff02a23
parent 8679 a8bdcf7bec20
child 10655 1c85a442bd56
--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua	Thu Jun 12 19:40:45 2014 +0200
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua	Thu Jun 12 20:47:11 2014 +0200
@@ -112,7 +112,7 @@
 end
 
 function onNewTurn()
-	ParseCommand("setweap " .. string.char(amBazooka))
+	SetWeapon(amBazooka)
 end
 
 -- This function is called every game tick.