Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtualBrightPlayz committed Nov 17, 2018
1 parent dcf0642 commit a1a3894
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Mod8Server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ const httpport = 8000;
//The port where this will accept input from the SCP:SL server
const gameport = 8080;

//PING RATE
//The time in milliseconds between data sent to MiniMap
const pingrate = 1000;

//*only works if TEAMONLY does not equal 2

//SCPRADIUS*
Expand Down Expand Up @@ -300,7 +304,7 @@ var interval = setInterval(function () {
//console.log("error parsing JSON");
run = false;
}
}, 1000);
}, pingrate);

io.on('connection', function (socket) {

Expand Down

0 comments on commit a1a3894

Please sign in to comment.