You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bit rude and makes a lot of assumptions about the contents of that file.
Scenario 1: Out of order mod installs
Install KSC Extended with intention to install RSS
Forget to install RSS temporarily
Run the game (maybe start or load a save if needed to trigger this code, not important)
Realize oops, no RSS, exit
Install RSS
Run the game
Oops, RSS config was deleted by KK in step 3! Report a misleading support ticket to KSC Extended maintainer
Scenario 2: Developing a config by hand
Create .cfg file containing a KK_MapDecal node
Accidentally fat-finger the celestial body:
CelestialBody = Kerblin
Run game to test
It deletes my code! Now I have to start over.
Scenario 3: It could be worse
Make a long personal "big patch" .cfg file in GameData over a couple of years with all your favorite in-game personalizations
Decide you want to add a KK_MapDecal node to it
Repeat Scenario 2, except now you lose a lot more than just one small file
Suggestion
Remove the file deletion code and let standard mod coding and packaging practices handle what configs are present and loaded. KK can easily skip and ignore any files it doesn't like.
The text was updated successfully, but these errors were encountered:
Problem
A user on the CKAN Discord reported that one of the files from KSC Extended was missing after playing the game:
Contents of that file (pre-deletion):
It appears that this code from Kerbal Konstructs deletes the file because its celestial body is Earth, and the user doesn't have RSS:
Kerbal-Konstructs/src/Core/Config/ConfigParser.cs
Lines 301 to 306 in 7916acb
Kerbal-Konstructs/src/Core/MapDecals/DecalsDatabase.cs
Lines 37 to 52 in 7916acb
This is a bit rude and makes a lot of assumptions about the contents of that file.
Scenario 1: Out of order mod installs
Scenario 2: Developing a config by hand
KK_MapDecal
nodeScenario 3: It could be worse
KK_MapDecal
node to itSuggestion
Remove the file deletion code and let standard mod coding and packaging practices handle what configs are present and loaded. KK can easily skip and ignore any files it doesn't like.
The text was updated successfully, but these errors were encountered: