Fixed an infinite loop issue during server-client synced double battles
Fixed an infinite loop issue during server-client synced double battles

Although there is still work to be done for double battles.

varkor/pokengine,kyledovey/pokengine,Aljendro/pokengine,kyledovey/pokengine,varkor/pokengine,Aljendro/pokengine