From d3e13aee9ecf5807acdeabfe01e5d91b38733dfb Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Wed, 29 Nov 2023 18:19:28 -0600 Subject: [PATCH] Fix variable snippets --- LANCommander/Snippets/Variables/Game Install Directory.ps1 | 2 +- LANCommander/Snippets/Variables/New Player Alias.ps1 | 2 +- LANCommander/Snippets/Variables/Old Player Alias.ps1 | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/LANCommander/Snippets/Variables/Game Install Directory.ps1 b/LANCommander/Snippets/Variables/Game Install Directory.ps1 index ac9ce15..fd9966d 100644 --- a/LANCommander/Snippets/Variables/Game Install Directory.ps1 +++ b/LANCommander/Snippets/Variables/Game Install Directory.ps1 @@ -1 +1 @@ -$OldPlayerAlias \ No newline at end of file +$InstallDirectory \ No newline at end of file diff --git a/LANCommander/Snippets/Variables/New Player Alias.ps1 b/LANCommander/Snippets/Variables/New Player Alias.ps1 index cac0a88..d910a91 100644 --- a/LANCommander/Snippets/Variables/New Player Alias.ps1 +++ b/LANCommander/Snippets/Variables/New Player Alias.ps1 @@ -1 +1 @@ -$NewName = $args[0] \ No newline at end of file +$NewPlayerAlias \ No newline at end of file diff --git a/LANCommander/Snippets/Variables/Old Player Alias.ps1 b/LANCommander/Snippets/Variables/Old Player Alias.ps1 index 11c87c2..ac9ce15 100644 --- a/LANCommander/Snippets/Variables/Old Player Alias.ps1 +++ b/LANCommander/Snippets/Variables/Old Player Alias.ps1 @@ -1,4 +1 @@ -$OldName = "" -if ($args[1]) { - $OldName = $args[1] -} \ No newline at end of file +$OldPlayerAlias \ No newline at end of file