Fixed a rare bug where the battle would resume when it shouldn't.

In battle modes where the command is pausing the battle,
when there were more than one character waiting for a command,
finalizing the first command would make the battle resume even if it shouldn't until all commands are done.