[Rseding91] get_control_behavior().disabled is not reliable on its own

This subforum contains all the issues which we already resolved.
User avatar
Godmave
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Tue Nov 15, 2016 3:52 pm
Contact:

[Rseding91] get_control_behavior().disabled is not reliable on its own

Post by Godmave »

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

Re: get_control_behavior().disabled is not reliable on its own

Post by Rseding91 »

Thanks for the report. Do you have some simple save file I can test that reproduces the issue?
If you want to get ahold of me I'm almost always on Discord.
User avatar
Godmave
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Tue Nov 15, 2016 3:52 pm
Contact:

Re: get_control_behavior().disabled is not reliable on its own

Post by Godmave »

Attached the simplest one. The right stop had its Logistic connection activated and deactivated, is showing yellow lights (correct) but returns true for this:

Code: Select all

/c game.print(serpent.line(game.player.selected.get_control_behavior().disabled))
Attachments
cb_disable_test.zip
(1.32 MiB) Downloaded 137 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14339
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] get_control_behavior().disabled is not reliable on its own

Post by Rseding91 »

Ok, it's now fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”