mirror of
https://github.com/AlecM33/Werewolf.git
synced 2026-01-01 16:59:29 +01:00
further incomplete redis draft
This commit is contained in:
@@ -15,10 +15,10 @@ const ServerBootstrapper = {
|
||||
singletons: (logger, instanceId) => {
|
||||
return {
|
||||
activeGameRunner: new ActiveGameRunner(logger, instanceId),
|
||||
socketManager: new SocketManager(logger, ActiveGameRunner.instance, instanceId),
|
||||
socketManager: new SocketManager(logger, instanceId),
|
||||
gameManager: process.env.NODE_ENV.trim() === 'development'
|
||||
? new GameManager(logger, ENVIRONMENT.LOCAL, ActiveGameRunner.instance, instanceId)
|
||||
: new GameManager(logger, ENVIRONMENT.PRODUCTION, ActiveGameRunner.instance, instanceId)
|
||||
? new GameManager(logger, ENVIRONMENT.LOCAL, instanceId)
|
||||
: new GameManager(logger, ENVIRONMENT.PRODUCTION, instanceId)
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user