Open TheGarbanzo opened 1 month ago
+1
To re-emphasise on what @TheGarbanzo said, if you don't close the remote view before exiting the editor it does this. The only way to fix is to roll back your save as far as I can tell
To re-emphasise on what @TheGarbanzo said, if you don't close the remote view before exiting the editor it does this. The only way to fix is to roll back your save as far as I can tell
There actually was another way to fix. Youd have to bring up the editor while in your factory and use it to make all your entities neutral. It's for sure not ideal but could save you if you spent a lot of time in the editor and didn't noticed that you've triggered the bug
Just encountered this bug myself, it also seems to reset all your infinite research.
Found a way to fix it very easily!
You just need to go into the map editor, then go to your factory and set the current force to Player
, then go back to the editor world and exit map editor. Then all should be back to normal, even got my research back :sweat_smile:
Thanks for the report. Fixing this properly will require a mod API addition, so it will be a little bit.
Use command /c game.player.print(game.players["YourUsername"].force.name)
to show that your character is on EE_TESTFORCE_1
So I found that using the command
/c game.players["YourUsername"].force = "player"
fixes it. As the factory stays the same, and the player is the one who changed forces.
Of course, replace only YourUsername
(leaving the quote marks) with your, actual, username.
Description
Leaving the editor while in remote view (while in the editor) causes entire factory to become hostile structures
Reproduction