diff --git a/index.ts b/index.ts index e4ea898..fa36ea5 100644 --- a/index.ts +++ b/index.ts @@ -46,6 +46,7 @@ setInterval(() =>{ pilot.notify("Do not sleep", "Your mouse was moved just now."); } } + last = pos; }, args.interval); console.log("Ready");