[Rseding91] [0.15.33] Unhelpful error msg when adding font without size

This subforum contains all the issues which we already resolved.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5207
Joined: Tue Jul 12, 2016 9:03 am
Contact:

[Rseding91] [0.15.33] Unhelpful error msg when adding font without size

Post by eradicator »

When adding a font and forgetting to specify the size the game errors after "loading sprites..." with "gui style not defined".
Some more checks during mod loading or a more verbose error message would be nice :P

Code: Select all

data:extend{{
    type = "font",
    name = "no-size-font",
    from = "default",
    -- size = 14, -> makes game fail to load with "gui style not defined"
  }}
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14250
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.15.33] Unhelpful error msg when adding font without size

Post by Rseding91 »

Thanks for the report. This is now fixed for 0.16.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”