Page 1 of 1

[1.1.6] Duplicate entry of defines.input_action.set_research_finished_stops_game in lua-api docu

Posted: Thu Dec 17, 2020 11:15 pm
by Roang
On Lua API Defines page the input action section lists

Code: Select all

defines.input_action.set_research_finished_stops_game
2 times (duplicate key).

Re: [1.1.6] Duplicate entry of defines.input_action.set_research_finished_stops_game in lua-api docu

Posted: Fri Dec 18, 2020 10:33 am
by Twinsen
For dev:
There seem to be a few actions that shouldn't be there. This seems to be a bug related to the python script.
It seems to be incorrectly parsing Permissions.cpp and including actions allowActionFromMultiplayerClient

Re: [1.1.6] Duplicate entry of defines.input_action.set_research_finished_stops_game in lua-api docu

Posted: Fri Dec 18, 2020 5:10 pm
by boskid
Thanks for the report. Issue with doc will be fixed in 1.1.7. There were also other input actions that should not be there.