Skip to content

Commit cc4460e

Browse files
committed
fix: return void from openGatewayServer
1 parent fb623b9 commit cc4460e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/server/game/game-server.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ export let serverConfig: GameServerConfig;
2222
export let filestore: Filestore;
2323

2424

25-
export const openGatewayServer = (host: string, port: number): void =>
25+
export const openGatewayServer = (host: string, port: number): void => {
2626
SocketServer.launch<GatewayServer>(
2727
'Game Gateway Server',
2828
host, port, socket => new GatewayServer(socket));
29+
};
2930

3031

3132
/**
@@ -57,6 +58,3 @@ export async function launchGameServer(): Promise<void> {
5758
watchSource('src/').subscribe(() => world.saveOnlinePlayers());
5859
watchForChanges('dist/plugins/', /[/\\]plugins[/\\]/);
5960
}
60-
61-
62-

0 commit comments

Comments
 (0)