[Rseding91] [16.30]Missing specification of font with name

Bugs that are actually features.
Post Reply
User avatar
WIZ4
Fast Inserter
Fast Inserter
Posts: 209
Joined: Thu Apr 07, 2016 1:36 pm
Contact:

[Rseding91] [16.30]Missing specification of font with name

Post by WIZ4 »

I created label with a non-existent font:

Code: Select all

frame.add{type = "label", name = "name", caption = "caption"}
frame.name.style.font = "default-medium-bold"
And got this error:
Screenshot_5.png
Screenshot_5.png (5.51 KiB) Viewed 745 times
I think this error should not lead to the closing game
My native language is russian. Sorry if my messages are difficult to read.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13219
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [16.30]Missing specification of font with name

Post by Rseding91 »

Thanks for the report however that's working as intended: lua errors show that error box and exit the game to the main menu.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Not a bug”