1
0
Fork 0

Make sitTime <= moveTime possible

master
v1nc 2020-05-07 20:36:32 +02:00 committed by GitHub
parent 6f77f4dcd2
commit e871a97b7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,6 +26,7 @@ function print_message(){
g.clear();
g.setColor(0xF800);
g.drawString("sitting is dangerous!", g.getWidth()/2, g.getHeight()/2);
setTimeout(remind,settings.sitTime * 60000);
}
//init graphics
require("Font8x12").add(Graphics);
@ -34,5 +35,4 @@ g.setFontAlign(0,0);
g.flip();
print_message();
setInterval(remind,settings.sitTime * 60000);