# HG changeset patch
# User Wuzzy
# Date 1525298146 -3600
# Node ID 48e52d3c6c853152eab59358990f472d70113dae
# Parent e504c2e2246d817db91a6f15a9cf1c0d1199b01b
LuaLibraries: fix head
diff -r e504c2e2246d -r 48e52d3c6c85 LuaLibraries.wiki
--- 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 @@
HedgewarsScriptLoad("Scripts/.lua")
Where `` is replaced by the name.
-=== Legacy `loadfile` ==
*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.