Skip to content

Commit

Permalink
Correctly set server listen variable
Browse files Browse the repository at this point in the history
  • Loading branch information
EwanLyon committed Mar 15, 2021
1 parent cf70578 commit 29325c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extension/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ server.on('close', () => {
});

server.listen(nodecg.bundleConfig.port, nodecg.config.host);
bundleStatus.value.isServerOn = true;

// Map data here as it is as I want to minimise the time it take for the data to be processed
function mapData(allPlayerData: CSGOAllplayer[], observingId?: string) {
Expand Down

0 comments on commit 29325c7

Please sign in to comment.