From 60b519335fc9e1e8f5535a6f35a4d93e62fe33f4 Mon Sep 17 00:00:00 2001 From: Trenten Pettry Date: Mon, 22 Jun 2026 11:33:26 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20Fixed=20(Bugs=20resolve?= =?UTF-8?q?d)=20-=20Quick=20Swap=20Side=20Restoration:=20Fixed=20a=20bug?= =?UTF-8?q?=20where=20quickswap=20would=20fail=20to=20switch=20sides=20whe?= =?UTF-8?q?n=20toggling=20back=20to=20the=20original=20operator.=20The=20i?= =?UTF-8?q?ssue=20occurred=20because=20the=20baseline=20set=20was=20captur?= =?UTF-8?q?ed=20after=20the=20side=20had=20already=20switched,=20so=20the?= =?UTF-8?q?=20revert=20logic=20couldn't=20determine=20it=20needed=20to=20s?= =?UTF-8?q?witch=20sides=20again.=20Now=20the=20baseline=20is=20captured?= =?UTF-8?q?=20before=20any=20side=20change,=20ensuring=20correct=20toggle?= =?UTF-8?q?=20behavior.=20=F0=9F=93=82=20File-Level=20Changes=20Summary=20?= =?UTF-8?q?-=20OperatorSets.cs:=20Captured=20preSwitchSet=20before=20the?= =?UTF-8?q?=20SwitchSide()=20call=20in=20QuickSwapTo()=20and=20used=20it?= =?UTF-8?q?=20when=20storing=20originalSetBeforeQuickSwap.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lithium/OperatorSets.cs | 4 +++- Lithium/bin/{Debug.7z => Lithium.7z} | Bin 2 files changed, 3 insertions(+), 1 deletion(-) rename Lithium/bin/{Debug.7z => Lithium.7z} (100%) diff --git a/Lithium/OperatorSets.cs b/Lithium/OperatorSets.cs index d2b6955..5cd67b4 100644 --- a/Lithium/OperatorSets.cs +++ b/Lithium/OperatorSets.cs @@ -405,6 +405,8 @@ namespace Lua isQuickSwapping = true; try { + string preSwitchSet = CurrentSet; + if (!ConfigLoader.betaTest) { if (inAttackers && !onAttackers) @@ -444,7 +446,7 @@ namespace Lua { if (string.IsNullOrEmpty(originalSetBeforeQuickSwap)) { - originalSetBeforeQuickSwap = CurrentSet; + originalSetBeforeQuickSwap = preSwitchSet; } SetCurrentSet(targetOp); } diff --git a/Lithium/bin/Debug.7z b/Lithium/bin/Lithium.7z similarity index 100% rename from Lithium/bin/Debug.7z rename to Lithium/bin/Lithium.7z