Fix angle resolution

This commit is contained in:
asraelite 2018-03-06 15:17:44 +00:00
parent 5b861cc341
commit 0101ef8d55
5 changed files with 44 additions and 22 deletions

View file

@ -8,15 +8,17 @@ import * as edit from './edit.mjs';
export let shipLanded = false;
let notification;
let notification = null;
let notLife = 0;
function notify(message) {
if (notification === null) return;
notification.text = message;
notLife = 60;
}
export function tick() {
if (notification === null) return;
if (notLife-- <= 0)
notification.text = '';
}