[1.1.4]Gui.relative type filter not working

This subforum contains all the issues which we already resolved.
Post Reply
Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

[1.1.4]Gui.relative type filter not working

Post by Choumiko »

Using the type filter for gui.relative does not work

To reproduce:

Code: Select all

/c game.player.gui.relative.add{type = "button", caption="Test", anchor = {gui = defines.relative_gui_type.container_gui,  type = "artillery-wagon", position = defines.relative_gui_position.right}}
Open an artillery wagon, no button shows up

Using name = "artillery-wagon" or names = {"artillery-wagon"} works.
I also tried it with a two other container types (cargo-wagon, contain), the tyoe filter seems to not work at all

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

Re: [1.1.4]Gui.relative type filter not working

Post by Rseding91 »

Thanks for the report. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”