after several tries, I noticed that
in the on_gui_text_changed event, if you read the value of the textfield that triggered the event, it still contains the old value, and not the new one. There is always one step late.
try with this simple mod :
textfield.text value not correct in on_gui_text_changed
textfield.text value not correct in on_gui_text_changed
Last edited by binbinhfr on Thu Jun 30, 2016 5:47 pm, edited 1 time in total.
My mods on the Factorio Mod Portal
Re: textfield not correct in on_gui_text_changed
any idea ? is it a bug or do I miss something ?
My mods on the Factorio Mod Portal
Re: textfield.text value not correct in on_gui_text_changed
Fixed for 0.13.4.
If you want to get ahold of me I'm almost always on Discord.