Commit 48eaf7b9 authored by smash's avatar smash

runden bitte!

parent 7a512ee7
......@@ -93,7 +93,7 @@ ippoll.on('doneCount', function (num) {
ippoll.on('doneState', function (state) {
spaceanswer.state.open = state;
spaceanswer.state.lastchange = new Date().getTime() / 1000;
spaceanswer.state.lastchange = Math.floor(new Date().getTime() / 1000);
simpleanswer.state = state;
simpleanswer.lastchange = spaceanswer.state.lastchange;
io.sockets.emit('sdata', {data: simpleanswer});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment