nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/gamnit: fix clock starting at first usage, not with the program
[nit.git]
/
lib
/
gamnit
/
flat.nit
diff --git
a/lib/gamnit/flat.nit
b/lib/gamnit/flat.nit
index
06ac8df
..
1936763
100644
(file)
--- 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