Closed unquietwiki closed 1 year ago
Thanks.
A couple of comments:
Please don't touch the .version file when you do a PR. You really have no idea what else is going on. Especially don't change URLs in there. If you have a problem with the version file, contact the author and talk about it
Just an FYI, the Assemblyversion.cs, is an auto-generated file by my build process.
NEVER, under any conditions, ever change the csproj or the sln file except to add new files. By doing that, you can totally destroy my (or anyones) local system. The best thing to do, would be to create your own .csproj file copied from the original, and make your changes there. That way any change you do in your project file won't affect anyone else
Now, a question:
Why did you change the code in the FTLDriveModule.cs from doing a "new Vessel()" to doing an "gameObject.AddComponent
This will always add a new vessel component , and never removes it. If you had at least put in a Destroy(), it might have made sense.
The other thing is that those objects are being used for local calculations, and aren't needed outside that method. The "new" will automatically free those objects when they are no longer needed.
So, what I've done is manually add in the two changes you were specific about, the NaN issue and the randomized exit.
Thank you for the PR, sorry I couldn't accept it as is. However, you will be getting the credit for these two fixes in the changelog
LGG
@linuxgurugamer thanks for adding the fixes, PR or no, that was really my intention here.
Primary fix: "Rendevous" sets a slightly random exit point, to avoid colliding with a vehicle that might already be at the exit point.
Secondary fixes: housekeeping; set the NaN power to 1, to avoid antimatter failure or other mod issues.