--- a/LuaLibraries.wiki Wed May 02 22:55:34 2018 +0100
+++ b/LuaLibraries.wiki Wed May 02 22:55:46 2018 +0100
@@ -10,7 +10,6 @@
<code language="lua">HedgewarsScriptLoad("Scripts/<Library Name>.lua")</code>
Where `<Library Name>` is replaced by the name.
-=== Legacy `loadfile` ==
*Note*: In ancient scripts, you might find this call 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. Use `HedgewarsScriptLoad` instead.