textfield.text value not correct in on_gui_text_changed

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

textfield.text value not correct in on_gui_text_changed

Post by binbinhfr »

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 :
Empty_0.0.1.zip
(40.35 KiB) Downloaded 139 times
Last edited by binbinhfr on Thu Jun 30, 2016 5:47 pm, edited 1 time in total.
My mods on the Factorio Mod Portal :geek:

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: textfield not correct in on_gui_text_changed

Post by binbinhfr »

any idea ? is it a bug or do I miss something ?
My mods on the Factorio Mod Portal :geek:

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

Re: textfield.text value not correct in on_gui_text_changed

Post by Rseding91 »

Fixed for 0.13.4.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”