[0.12.33] crash with forces (merge then create ?)
Posted: Mon May 09, 2016 9:39 pm
I started writing a mod dealing with forces and I had a crash.
I can reproduce it :
Create a new map, just with my mod active.
Click on the main button to open the GUI.
Click 2 times on "+" to create 2 forces.
Then delete the first created force clickin "X" 2 times (to confirm)
Then add new forces again with "+", and you'll have a crash.
The problem seems to be inherent of the merge_forces.
Maybe my mod is not correct too, but I suppose it shouldn't crash anyway, so I send you the report, if you are interested...
PS : by the way, to delete a force, I supposed that the only solution is to merge it into another one, for example the neutral or player one
(eventually cleaning the tech tree before), so that entity will always has a force ?
Thx for the game.
I can reproduce it :
Create a new map, just with my mod active.
Click on the main button to open the GUI.
Click 2 times on "+" to create 2 forces.
Then delete the first created force clickin "X" 2 times (to confirm)
Then add new forces again with "+", and you'll have a crash.
The problem seems to be inherent of the merge_forces.
Maybe my mod is not correct too, but I suppose it shouldn't crash anyway, so I send you the report, if you are interested...
PS : by the way, to delete a force, I supposed that the only solution is to merge it into another one, for example the neutral or player one
(eventually cleaning the tech tree before), so that entity will always has a force ?
Thx for the game.