fix: remove usage of setNewFont on error handler

This commit is contained in:
Jack Robinson
2022-12-04 16:47:17 +13:00
parent 9e4b70c498
commit 708b8d3b04
+2 -1
View File
@@ -232,7 +232,8 @@ function love.errhand(msg)
if love.audio then love.audio.stop() end
love.graphics.reset()
local font = love.graphics.setNewFont(14)
local font = love.graphics.newFont(14)
love.graphics.setFont(font)
love.graphics.setColor(1, 1, 1)