[wheybags] [0.16.25] choose-elem-button locked state not persistent

This subforum contains all the issues which we already resolved.
Post Reply
GodsFather
Burner Inserter
Burner Inserter
Posts: 18
Joined: Tue Apr 26, 2016 2:46 pm
Contact:

[wheybags] [0.16.25] choose-elem-button locked state not persistent

Post by GodsFather » Tue Feb 20, 2018 11:41 am

The locked state of choose-elem-button is saved in savegame and ignored after loading

- Button created
- Select item
- Set locked = true => slot is locked
- Save game
- Load game
- property locked is still true but => slot is unlocked
- setting locked = true in lua => slot is unlocked
- setting locked = false and afterward locked = true => slot is unlocked
- setting locked = false, wait 1 tick (with on_tick event) and set locked = true on second tick => slot is locked

Version: 0.16.25 (build 35610, win64, steam)
Singleplayer savegame

User avatar
wheybags
Factorio Staff
Factorio Staff
Posts: 300
Joined: Fri Jun 02, 2017 1:50 pm
Contact:

Re: [wheybags] [0.16.25] choose-elem-button locked state not persistent

Post by wheybags » Tue Feb 20, 2018 4:26 pm

Fixed for version 0.16.26.
Thanks for the report!

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: Divran