diff options
Diffstat (limited to 'frontend/src/models/players.js')
-rw-r--r-- | frontend/src/models/players.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/src/models/players.js b/frontend/src/models/players.js index 2af6b0f7..587300f5 100644 --- a/frontend/src/models/players.js +++ b/frontend/src/models/players.js @@ -5,7 +5,9 @@ export type PlayerShape = { username: string, displayName: string, index: number, - ready: boolean + ready: boolean, + gameOwner: boolean, + user: boolean, }; export type PlayerType = Record<PlayerShape>; @@ -14,6 +16,8 @@ const PlayerRecord: PlayerType = Record({ displayName: null, index: 0, ready: false, + gameOwner: false, + user: false, }); // $FlowFixMe export class Player extends PlayerRecord {} |