diff options
Diffstat (limited to 'main.lua')
| -rw-r--r-- | main.lua | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,10 @@ function love.update(dt) local scn = get_current_scene() assert(scn, "No scene set.") + if is_input_just_pressed("Hot_Reload") and lk.isDown("lctrl") then + reload_assets() + end + fire_event(scn.on_update, dt) fire_event(global_on_update, dt) flush_scene() |
