diff --git a/LANCommander.SDK/Helpers/ScriptHelper.cs b/LANCommander.SDK/Helpers/ScriptHelper.cs index 352cb96..3fde3f8 100644 --- a/LANCommander.SDK/Helpers/ScriptHelper.cs +++ b/LANCommander.SDK/Helpers/ScriptHelper.cs @@ -46,7 +46,7 @@ namespace LANCommander.SDK.Helpers if (script.RequiresAdmin) script.Contents = "# Requires Admin" + "\r\n\r\n" + script.Contents; - var filename = PowerShellRuntime.GetScriptFilePath(game, type); + var filename = GetScriptFilePath(game, type); if (File.Exists(filename)) File.Delete(filename);