However the new input system has a bug where if you press with two events eligible for a press, both of them interact. I don't know whether to fix this or not.
I spent about 6 hours trying to fix this one specific bug involving the move undo. Turns out all I had to do was calm down and think logically instead of typing random bullshit for a few hours until it worked. I'm tired and I thank this for ruining my sleep schedule.