Fix pink briefing in old saves

Fixes #2308
This commit is contained in:
Stephen E. Baker
2024-03-04 20:16:23 -05:00
parent efef224fbd
commit dd308f1f92

View File

@@ -1082,8 +1082,12 @@ function UI:afterLoad(old, new)
gfx.cache.palette_greyscale_ghost = {}
gfx.cache.language_fonts = {}
gfx.builtin_font = nil
local palette = gfx:loadPalette("QData", "PREF01V.PAL", true)
self.tooltip_font = gfx:loadFont("QData", "Font00V", false, palette)
end
end
self:setupGlobalKeyHandlers()
-- Cancel any saved screen movement from edge scrolling