From eb05364542385e28649aa5feaffdf6aeae21df15 Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Wed, 15 Nov 2023 23:59:12 -0600 Subject: [PATCH] Fix reference to static method in ScriptHelper --- LANCommander.SDK/Helpers/ScriptHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);