I'm having troubles figuring out how to stop this double input for this event, changing the trigger to on hold for one of the condition fixes the issue but i want it to be a seamless tap once to do this, then tap again and it will save.
As it currently stands, when you tap the button then "moveUnits" is set to true, however when you try to tap it again it stays true but all the functions are being executed and it gets turned off but then immediately back on by a double input by just clicking or tapping the button.