Page 1 of 1

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

Posted: Tue Jul 02, 2019 7:46 pm
by Godmave
Image

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

Posted: Tue Jul 02, 2019 8:08 pm
by Rseding91
Thanks for the report. Do you have some simple save file I can test that reproduces the issue?

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

Posted: Wed Jul 03, 2019 6:02 am
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))

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

Posted: Wed Jul 03, 2019 11:11 am
by Rseding91
Ok, it's now fixed for the next version of 0.17.