melee-roguelite/.duplicate/seperate-source/overwrite/src/wrap.fnl

10 lines
327 B
Plaintext
Raw Normal View History

2022-03-25 16:40:58 -07:00
(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)))