# HG changeset patch
# User Wuzzy
# Date 1555509928 -3600
# Node ID de477b727594a9868686ab3b9b7ba0a3f68c426a
# Parent efa4f04f15eb93cc7eac768af7c30a520ab60c35
LuaLibraries: Remove mention of loadfile, its very ancient
diff -r efa4f04f15eb -r de477b727594 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 @@
HedgewarsScriptLoad("Scripts/.lua")
Where `` is replaced by the name.
-*Note*: In ancient scripts, you might find this call instead:
-loadfile(GetDataPath() .. "Scripts/.lua")()
-This does not work with new Hedgewars versions anymore and causes the script to break. Use `HedgewarsScriptLoad` instead.
-
== List of Lua libraries ==
* [LuaLibraryLocale Locale]