From b8c1377521c89e28e6511e4d5b4e28c53d8fe1b2 Mon Sep 17 00:00:00 2001 From: Bill Niblock Date: Wed, 30 Oct 2024 22:28:58 -0400 Subject: [PATCH] Fix overlay positioning --- overlay.fnl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/overlay.fnl b/overlay.fnl index 35a0263..012bdd2 100644 --- a/overlay.fnl +++ b/overlay.fnl @@ -1,8 +1,7 @@ ; Draw the overlay ; Relies on information about the player and the display (local player (require :state)) -(var screen-width 1280) -(var screen-height 720) +(var (screen-width screen-height) (love.window.getMode)) ; This draws the oxygen ui ; Sequential blocks, up to 10; each block 10%