I think I'm seeing a bug related to notification order of "history_history" messages?
I tried states like this:
In both cases, live play works correctly and notifications come in proper order (1, 2, 3). But if I refresh the page (refresh sends "history_history" instead of true notifications), the order is wrong as (2, 1, 3). Can it be fixed?
(At first I thought it was related to sending notification from 'activeplayer' state, but I tried sending both notifications #1 and #2 together from same game state and still bug.)
Maybe it is because notification #1 is public and notification #2 is private?
I tried states like this:
Code: Select all
game (notifyAllPlayers send #1)
-> activeplayer (notifyPlayer send #2)
-> game (notifyAllPlayers send #3)
OR
game (notifyAllPlayers send #1, notifyPlayer send #2)
-> activeplayer
-> game (notifyAllPlayers send #3)
(At first I thought it was related to sending notification from 'activeplayer' state, but I tried sending both notifications #1 and #2 together from same game state and still bug.)
Maybe it is because notification #1 is public and notification #2 is private?