fix highlander - needed new script load function
authornemo
Sat, 09 Mar 2013 23:01:15 -0500
changeset 8713 5611011e40b5
parent 8712 ba98ab1f26b6
child 8714 ab201a62d115
fix highlander - needed new script load function
share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua	Sat Mar 09 22:52:17 2013 -0500
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua	Sat Mar 09 23:01:15 2013 -0500
@@ -82,8 +82,8 @@
 -- derp, script follows
 -------------------------------
 
-loadfile(GetDataPath() .. "Scripts/Locale.lua")()
-loadfile(GetDataPath() .. "Scripts/Tracker.lua")()
+HedgewarsScriptLoad("/Scripts/Locale.lua")
+HedgewarsScriptLoad("/Scripts/Tracker.lua")
 
 local airWeapons = 	{amAirAttack, amMineStrike, amNapalm, amDrillStrike --[[,amPiano]]}