LuaLibraries: Remove mention of loadfile, its very ancient
authorWuzzy
Wed, 17 Apr 2019 15:05:28 +0100
changeset 1802 de477b727594
parent 1801 efa4f04f15eb
child 1803 d75d30743663
LuaLibraries: Remove mention of loadfile, its very ancient
LuaLibraries.wiki
--- a/LuaLibraries.wiki	Wed Apr 17 15:04:18 2019 +0100
+++ b/LuaLibraries.wiki	Wed Apr 17 15:05:28 2019 +0100
@@ -10,10 +10,6 @@
 <code language="lua">HedgewarsScriptLoad("Scripts/<Library Name>.lua")</code>
 Where `<Library Name>` is replaced by the name.
 
-*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.
-
 == List of Lua libraries ==
 
  * [LuaLibraryLocale Locale]