Fix auto for new practice rotation handling.

This commit is contained in:
yukirij 2024-09-05 10:59:00 -07:00
parent d7d3266638
commit 36173bf422

View File

@ -1255,7 +1255,7 @@ const INTERFACE = {
auto() {
if(INTERFACE_DATA.auto_mode === null) {
INTERFACE_DATA.auto_mode = (GAME_DATA.turn & 1) ^ INTERFACE_DATA.rotate ^ 1;
INTERFACE_DATA.auto_mode = INTERFACE_DATA.rotate ^ 1;
setTimeout(INTERFACE.auto_play, 500);
} else {
INTERFACE_DATA.auto_mode = null;