mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
built out rest of functionality; add placeholder when there are no custom roles
This commit is contained in:
@@ -78,6 +78,7 @@ const EVENT_IDS = {
|
||||
TIMER_EVENT: 'timerEvent',
|
||||
KICK_PERSON: 'kickPerson',
|
||||
UPDATE_GAME_ROLES: 'updateGameRoles',
|
||||
UPDATE_GAME_TIMER: 'updateGameTimer',
|
||||
LEAVE_ROOM: 'leaveRoom',
|
||||
BROADCAST: 'broadcast'
|
||||
};
|
||||
@@ -103,6 +104,7 @@ const SYNCABLE_EVENTS = function () {
|
||||
EVENT_IDS.END_TIMER,
|
||||
EVENT_IDS.KICK_PERSON,
|
||||
EVENT_IDS.UPDATE_GAME_ROLES,
|
||||
EVENT_IDS.UPDATE_GAME_TIMER,
|
||||
EVENT_IDS.LEAVE_ROOM
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user