share/hedgewars/Data/Scripts/Multiplayer/WxW.lua
branchphysfslayer
changeset 8043 da083f8d95e6
parent 7183 95dc11d648fb
child 10036 3be36d2fdca6
--- a/share/hedgewars/Data/Scripts/Multiplayer/WxW.lua	Sat Nov 17 00:15:30 2012 +0400
+++ b/share/hedgewars/Data/Scripts/Multiplayer/WxW.lua	Sat Nov 17 00:41:30 2012 +0400
@@ -54,9 +54,9 @@
 -- GO PONIES, GO PONIES, GO!
 -----------------------------
 
-loadfile(GetDataPath() .. "Scripts/Locale.lua")()
-loadfile(GetDataPath() .. "Scripts/Tracker.lua")()
-loadfile(GetDataPath() .. "Scripts/Utils.lua")()
+HedgewarsScriptLoad("/Scripts/Locale.lua")
+HedgewarsScriptLoad("/Scripts/Tracker.lua")
+HedgewarsScriptLoad("/Scripts/Utils.lua")
 
 -- experimental menu stuff
 local menuIndex = 1