Skip to content

Commit

Permalink
correct isMultiplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
darthfiddler committed Mar 26, 2018
1 parent 8be11a0 commit f76f97e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function Client({
if (board) {
_board = React.createElement(board, {
...state,
isMultiplayer: multiplayer === true,
isMultiplayer: multiplayer !== undefined,
moves: this.client.moves,
events: this.client.events,
gameID: this.props.gameID,
Expand All @@ -119,7 +119,7 @@ export function Client({
_debug = React.createElement(Debug, {
gamestate: state,
store: this.client.store,
isMultiplayer: multiplayer === true,
isMultiplayer: multiplayer !== undefined,
moves: this.client.moves,
events: this.client.events,
gameID: this.props.gameID,
Expand Down

0 comments on commit f76f97e

Please sign in to comment.