chg: dev: replace the legacy gos/web-socket-bundle & replace it with Mercure protocol #4
This commit is contained in:
@@ -173,8 +173,11 @@ class GridControl extends React.Component {
|
||||
inactivePlayer = userControl.state.activePlayer ? 'red' : 'blue';
|
||||
|
||||
if (
|
||||
userControl.state.bombSelected && idx === (max - 1)
|
||||
|| !idx && !userControl.state.bombSelected && 'm' !== currentObject
|
||||
userControl.state.bombSelected
|
||||
&& idx === (max - 1)
|
||||
|| !idx
|
||||
&& !userControl.state.bombSelected
|
||||
&& 'm' !== currentObject
|
||||
) {
|
||||
userControl.setState({
|
||||
activePlayer: userControl.state.activePlayer ? 0 : 1,
|
||||
|
||||
Reference in New Issue
Block a user