Page 1 of 1

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

Posted: Thu Aug 10, 2017 7:13 pm
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"
  }}

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

Posted: Wed Aug 16, 2017 6:30 pm
by Rseding91
Thanks for the report. This is now fixed for 0.16.