LuaAPI: fix header of SetWeapon and SetNextWeapon
authorWuzzy
Sat, 24 Feb 2018 11:31:02 +0000
changeset 1246 0f08b9671715
parent 1245 355898ec2631
child 1247 6ebe1b8eb081
LuaAPI: fix header of SetWeapon and SetNextWeapon
LuaAPI.wiki
--- a/LuaAPI.wiki	Sat Feb 24 11:30:33 2018 +0000
+++ b/LuaAPI.wiki	Sat Feb 24 11:31:02 2018 +0000
@@ -1144,7 +1144,7 @@
 ==== <tt>!SwitchHog(gearUid)</tt> ====
 This function will switch to the hedgehog with the specifiedd `gearUid`.
 
-=== <tt>!SetWeapon(ammoType)</tt> ===
+==== <tt>!SetWeapon(ammoType)</tt> ====
 Sets the selected weapon of `CurrentHedgehog` to one of the [AmmoTypes Ammo Type].
 
 Example:
@@ -1153,7 +1153,7 @@
   AddAmmo(CurrentHedgehog, amBazooka, 1) -- give the CurrentHedgehog a bazooka
   SetWeapon(amBazooka) -- select the Bazooka.</code>
 
-=== <tt>!SetNextWeapon()</tt> ===
+==== <tt>!SetNextWeapon()</tt> ====
 This function makes the current hedgehog switch to the next weapon in list of available weapons. It can be used for example in trainings to pre-select a weapon.
 
 ==== <tt>!SetInputMask(mask)</tt> ====