[0.14.19] LuaEntity.rocket_parts cannot be set to 0
Posted: Sat Nov 05, 2016 2:19 pm
I've encountered two bugs at once while making custom scenario.
Bug #1
LuaEntity.rocket_parts cannot be set to 0
The error states "Amount has to be greater than 0", making it impossible to clear a rocket silo from rocket parts through LUA
Bug #2
It is possible that LUA error message locks the game
Steps to reproduce:
- Open the rocket silo window
- Move it a little bit (just few pixels)
- Cause lua error somehow
Result: Error panel is below the rocket silo panel, ant the rocket silo panel becomes immovable, so it is impossible to do anything except alt+f4
If you skip step 2, error panel displays above (works as expected)
Bug #1
LuaEntity.rocket_parts cannot be set to 0
The error states "Amount has to be greater than 0", making it impossible to clear a rocket silo from rocket parts through LUA
Bug #2
It is possible that LUA error message locks the game
Steps to reproduce:
- Open the rocket silo window
- Move it a little bit (just few pixels)
- Cause lua error somehow
Result: Error panel is below the rocket silo panel, ant the rocket silo panel becomes immovable, so it is impossible to do anything except alt+f4
If you skip step 2, error panel displays above (works as expected)