Skip to content

Commit

Permalink
Merge pull request #105 from gwdevhub/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
DubbleClick authored Dec 18, 2024
2 parents d736397 + 07987a4 commit c889e9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GW Launcher/MulticlientPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private static IntPtr GetProcessModuleBase(IntPtr process)

memory = new GWCAMemory(process);

var VK_SHIFT = 0x10;
const int VK_SHIFT = 0x10;
//NB: Because account launching is done on another thread, we can't rely on WPF/WinForms API to tell us if shift is pressed
if ((GetAsyncKeyState(VK_SHIFT) & 0x8000) != 0) {
DialogResult result =
Expand Down Expand Up @@ -177,7 +177,7 @@ private static IntPtr GetProcessModuleBase(IntPtr process)
cleanup:
if (err != null)
{
// process?.Kill();
process?.Kill();
memory = null;
}
// Make sure to restore the modfile.txt file (blank string if in the gwlauncher dir, whatever was there before if in the gw dir)
Expand Down

0 comments on commit c889e9f

Please sign in to comment.