Don't force RPGe font loading

This commit is contained in:
Luke Hubmayer-Werner 2023-12-06 16:51:48 +10:30
parent 4d941207e5
commit 10669e0c1f
1 changed files with 20 additions and 19 deletions

View File

@ -536,6 +536,7 @@ func load_from_structs(data: Dictionary):
MapLoader.update_worldmap_block_tile_ids(worldmap_block_tile_ids)
# Make font atlas
if 'RPGe_font_character_widths' in data:
self.font_atlas_image = make_font_glyph_atlas(data.font_glyphs_small, data.font_glyphs_dialogue, data.font_glyphs_kanji)
self.font_atlas_texture = texture_from_image(self.font_atlas_image)
self.font = BitmapFont.new()