# HG changeset patch
# User almikes@aol.com
# Date 1419124083 0
# Node ID 908428bf4a03ca7180bf98612ac57f0536ed4c64
# Parent f910cf3241fc60f791e38109c806a3015d2560ba
Add TOC
diff -r f910cf3241fc -r 908428bf4a03 LuaLibraries.wiki
--- a/LuaLibraries.wiki Sun Dec 21 01:04:48 2014 +0000
+++ b/LuaLibraries.wiki Sun Dec 21 01:08:03 2014 +0000
@@ -12,6 +12,9 @@
loadfile(GetDataPath() .. "Scripts/.lua")()
This does not work with new Hedgewars versions anymore and causes the script to break. You have to replace it with `HedgewarsScriptLoad`. *Calls to `loadfile` are one of the most common reasons why old scripts do not work in recent Hedgewars versions.*
+= Table of Contents =
+
+
= Locale =
This library allows you to translate string and should be used whenever a script has text. It loads the appropriate locale file and check automatically.