share/hedgewars/Data/Missions/Training/Basic_Training_-_Rope.lua
branchphysfslayer
changeset 8043 da083f8d95e6
parent 7838 5c2337f8dbb2
child 10290 42efccba0711
--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Rope.lua	Sat Nov 17 00:15:30 2012 +0400
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Rope.lua	Sat Nov 17 00:41:30 2012 +0400
@@ -7,8 +7,8 @@
 --I know there need to be more "tutorial" specefic messages, but I had a hard timer figuring out what to type / what would be the best technical description.
 
 
-loadfile( GetDataPath() .. "Scripts/Locale.lua" )()
-loadfile( GetDataPath() .. "Scripts/Utils.lua" )() -- For the gearIsInBox function, wrote my own, but decided it was a waste to include it
+HedgewarsScriptLoad("/Scripts/Locale.lua")
+HedgewarsScriptLoad("/Scripts/Utils.lua") -- For the gearIsInBox function, wrote my own, but decided it was a waste to include it
 
 local Player = nil -- Pointer to hog created in: onGameInit
 local Target = nil -- Pointer to target hog