Edited wiki page LuaLibraries through web user interface.
authoralmikes@aol.com
Sat, 20 Dec 2014 19:36:54 +0000
changeset 525 b051cfd45c23
parent 524 bebf8feb9550
child 526 f910cf3241fc
Edited wiki page LuaLibraries through web user interface.
LuaLibraries.wiki
--- a/LuaLibraries.wiki	Fri Dec 19 23:49:19 2014 +0000
+++ b/LuaLibraries.wiki	Sat Dec 20 19:36:54 2014 +0000
@@ -10,7 +10,7 @@
 
 *Note*: In old scripts, you will find this line instead:
 <code language="lua">loadfile(GetDataPath() .. "Scripts/<Library Name>.lua")()</code>
-This does not work with new Hedgewars versions anymore and causes the script to break. You have to replace it with `HedgewarsScriptLoad`.
+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.*
 
 = Locale =