diff --git a/debug.lua b/debug.lua index ed9ddfb..92d5d32 100644 --- a/debug.lua +++ b/debug.lua @@ -16,7 +16,7 @@ function debug_t(mode) debug_map = not debug_map elseif mode == "sfx" then debug_sfx = not debug_sfx - elseif mode == "" then + elseif mode == "mod" then debug_mod_buffer = not debug_mod_buffer end end diff --git a/main.lua b/main.lua index 6a88cc5..809a3c0 100644 --- a/main.lua +++ b/main.lua @@ -14,7 +14,7 @@ function _update() end function _draw() - rectfill(0, 0, 127, 127, 0) + cls() -- the screen is 128x128 pixels, so it fits 16x16 sprites map(camera_pos_x, camera_pos_y, 0, 0, 16, 16) draw_player()