LuaAPI: fix typos
authorWuzzy
Thu, 09 Jun 2016 12:57:30 +0100
changeset 890 74b9c19e4b50
parent 889 43cb59d498ea
child 891 d991247c5c05
LuaAPI: fix typos
LuaAPI.wiki
--- a/LuaAPI.wiki	Thu May 12 12:34:48 2016 +0100
+++ b/LuaAPI.wiki	Thu Jun 09 12:57:30 2016 +0100
@@ -138,7 +138,7 @@
 More constants are at at [GearTypes Gear Types] , [AmmoTypes Ammo Types], [Sounds], [States], [Sprites], [VisualGearTypes Visual Gear Types].
 
 == Event handlers ==
-Lua scripts are supposed to _define_ these functions to do something. The functions are then _called_ by Hedgewars when a certain even has occoured.
+Lua scripts are supposed to _define_ these functions to do something. The functions are then _called_ by Hedgewars when a certain event has occoured.
 
 === <tt>onGameInit()</tt> ===
 This function is called before the game loads its resources. One can read and modify various game variables here. These variables will become globally available after `onGameInit` has been invoked, but changing them has only an effect in `onGameInit`.
@@ -172,7 +172,7 @@
 || `HealthDecrease` || `5` || Amount of health decreased on each turn in Sudden Death ||
 || `Goals` || `""` || Use this to add additional text to the goal text popup shown at the beginning and when using the quit or pause keys. The text is added to the default text which usually explains the game modifiers and does not replace it. Use `|` for line breaks. Also, all text before and including a `:` in a line will be highlighted. See also `ShowMission`. ||
 || `ScreenWidth` || _N/A_ || Width of the Hedgewars window or screen ||
-|| `ScreenHeigth` || _N/A_ || Heigth of the Hedgewars window or screen ||
+|| `ScreenHeight` || _N/A_ || Height of the Hedgewars window or screen ||
 
 The proper way to disable Sudden Death is by setting both `WaterRise` and `HealthDecrease` to `0`.