Getting some eslint errors in components/teams.js and in actions/actions.js on places that I've not been working, so I left it as is.
If the player reload the browser the "shaking" effect fades, but I've added (and deleted when it fades) a property in the game.teams object (just the affected team) which we could use to see if the action is active or not. I just didn't know where to put the logic for that to happen.
(Property name is: "game.teams.properties.shaking = true" (row 24 and 32 in "team-shake-screen.js")
Getting some eslint errors in components/teams.js and in actions/actions.js on places that I've not been working, so I left it as is.
If the player reload the browser the "shaking" effect fades, but I've added (and deleted when it fades) a property in the game.teams object (just the affected team) which we could use to see if the action is active or not. I just didn't know where to put the logic for that to happen.
(Property name is: "game.teams.properties.shaking = true" (row 24 and 32 in "team-shake-screen.js")