summaryrefslogtreecommitdiff
path: root/frontend/src/models/games.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/models/games.js')
-rw-r--r--frontend/src/models/games.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/src/models/games.js b/frontend/src/models/games.js
index dfa0591d..7a8dfbc7 100644
--- a/frontend/src/models/games.js
+++ b/frontend/src/models/games.js
@@ -38,6 +38,7 @@ export type GameState = 'LOBBY' | 'PLAYING';
export type GameShape = {
id: number,
name: string | void,
+ owner: string,
players: List<string>,
settings: SettingsType,
state: GameState,
@@ -49,6 +50,7 @@ export type GameNormalMapType = { [string]: GameShape };
const GameRecord: GameType = Record({
id: -1,
name: null,
+ owner: 'anonymous',
players: new List(),
settings: new Settings(),
state: 'LOBBY',
bgstack15