Space nun dauerhaft zu (aufgrund von corona...) aber wir können buzzern und musik hören beim Maskenherstellen

This commit is contained in:
henne 2020-04-01 16:55:04 +02:00
parent 0e7edc330b
commit cb0c51e5a3
1 changed files with 4 additions and 2 deletions

View File

@ -97,9 +97,11 @@ ctdoapi.on('done', function (answer) {
});
ippoll.on('doneState', function (state) {
spaceanswer.state.open = state;
//spaceanswer.state.open = state;
spaceanswer.state.open = false;
spaceanswer.state.lastchange = Math.floor(new Date().getTime() / 1000);
simpleanswer.state = state;
//simpleanswer.state = state;
simpleanswer.state = false;
simpleanswer.lastchange = spaceanswer.state.lastchange;
simpleanswer.lastchange = new Date().getTime();
io.sockets.emit('sdata', {data: simpleanswer});