Don't force RPGe font loading
This commit is contained in:
parent
4d941207e5
commit
10669e0c1f
|
@ -536,6 +536,7 @@ func load_from_structs(data: Dictionary):
|
||||||
MapLoader.update_worldmap_block_tile_ids(worldmap_block_tile_ids)
|
MapLoader.update_worldmap_block_tile_ids(worldmap_block_tile_ids)
|
||||||
|
|
||||||
# Make font atlas
|
# 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_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_atlas_texture = texture_from_image(self.font_atlas_image)
|
||||||
self.font = BitmapFont.new()
|
self.font = BitmapFont.new()
|
||||||
|
|
Loading…
Reference in New Issue