fix bug with transferring mod powers to spectators that join after game is started

This commit is contained in:
AlecM33
2022-02-24 23:09:25 -05:00
parent 84754d6101
commit 740813f05c
5 changed files with 65 additions and 2 deletions

View File

@@ -38,7 +38,8 @@ const globals = {
EVENTS: {
PLAYER_JOINED: 'playerJoined',
PLAYER_LEFT: 'playerLeft',
SYNC_GAME_STATE: 'syncGameState'
SYNC_GAME_STATE: 'syncGameState',
NEW_SPECTATOR: 'newSpectator'
},
ENVIRONMENT: {
LOCAL: 'local',