Fixed font now only applies on menus

This commit is contained in:
lustlion
2022-02-03 07:08:15 +01:00
parent df26d84577
commit 2703371434
3 changed files with 9 additions and 8 deletions

View File

@@ -1,4 +1,6 @@
function MenuDraw(menu)
local font = love.graphics.getFont()
love.graphics.setFont(LocaleFont)
-- Set scale to 1
love.graphics.scale(0.5,0.5)
if menu == "pause" then
@@ -12,6 +14,7 @@ function MenuDraw(menu)
end
-- Reset scale
love.graphics.scale(2,2)
love.graphics.setFont(font)
end
function MenuDrawPauseScreen()