chore: tune down packet frequency for now

This commit is contained in:
cha0s 2019-04-12 09:49:38 -05:00
parent a3189bbef2
commit f7f69c19c7

View File

@ -65,7 +65,7 @@ function createDisconnectionListener(socket) {
}
// Main loop.
let lastTime = performance.now();
const informTicker = new Ticker(1 / 60);
const informTicker = new Ticker(1 / 40);
informTicker.on('tick', () => {
// Inform entities of the new state.
for (const entity of informables) {