From 0e7a61c06f98d8c78278382e891d2c24e74f6523 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Mon, 1 Feb 2016 11:47:46 -0500 Subject: [PATCH] lib/gamnit: fix clock starting at first usage, not with the program MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/gamnit/flat.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gamnit/flat.nit b/lib/gamnit/flat.nit index 06ac8df..1936763 100644 --- a/lib/gamnit/flat.nit +++ b/lib/gamnit/flat.nit @@ -128,7 +128,7 @@ redef class App # UI sprites to draw in reference to `ui_camera`, over world `sprites` var ui_sprites: Sequence[Sprite] = new List[Sprite] - private var clock = new Clock + private var clock = new Clock is lazy redef fun on_create do -- 1.7.9.5