melee-roguelite/.duplicate/seperate-source/overwrite/src/wrap.fnl
2022-03-25 19:40:58 -04:00

10 lines
327 B
Fennel

(local gamestate (require :lib.gamestate))
(local stdio (require :lib.stdio))
(fn love.load [args]
(love.graphics.setDefaultFilter "nearest" "nearest" 0)
(if (= :web (. args 1)) (global web true) (global web false))
(gamestate.registerEvents)
(gamestate.switch (require :mode-intro))
(when (not web) (stdio.start)))