diff options
Diffstat (limited to 'lib/main.fnl')
-rw-r--r-- | lib/main.fnl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/main.fnl b/lib/main.fnl index 03383ad..8e4908a 100644 --- a/lib/main.fnl +++ b/lib/main.fnl @@ -10,7 +10,8 @@ ;; i'm not sure if it'd be worth it (it'd require those dependency loops maybe) ;; TODO: ^ (local hotswap-modules - [:lib.cells + [:lib.player + :lib.cells :lib.game :lib.main]) @@ -19,11 +20,11 @@ (fn love.load [] (when profi? - (profi:start)) - (set love.frame 0) + (profi:start) + (set love.frame 0)) (love.keyboard.setKeyRepeat true) (global the-state (state.init game)) - (global messages {}) + (global messages (or messages {})) (print "a")) (fn love.draw [] @@ -46,7 +47,6 @@ (table.remove messages i) (set v.ticks (- v.ticks 1)))))) -;; TODO: we need a better way to display errors at runtime for updates too (fn love.update [] (when profi? (profi:startHooks) |