Skip to content

Commit 5cf21c0

Browse files
authored
Merge pull request #49 from KSP2Community/dev
Version 0.12.0
2 parents bbc7b73 + 64c3fff commit 5cf21c0

File tree

6 files changed

+24
-148
lines changed

6 files changed

+24
-148
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@
22
This project aims to bring together community bug fixes for Kerbal Space Program 2 in one centralized place.
33

44
## Compatibility
5-
- Tested with Kerbal Space Program 2 v0.2.0.0.30291
5+
- Tested with Kerbal Space Program 2 v0.2.1.0.30833
66
- Requires **[SpaceWarp 1.6.0+](https://github.com/SpaceWarpDev/SpaceWarp/releases/)**
77
- Requires **[Patch Manager 0.6+](https://github.com/KSP2Community/PatchManager/releases/)**
88

99
## Implemented fixes
1010
- **KSP 2 Save Fix** by [jayouimet](https://github.com/jayouimet) - Replaces the Control Owner Part to the first available Command module or to the Root part if not found when it is set to null.
1111
- **Vessel Landed State Fix** by [munix](https://github.com/jan-bures) - Checks if the vessel's state is Landed when not actually near the ground and resets it. Should fix [this persistent bug](https://forum.kerbalspaceprogram.com/topic/220260-incorrect-landed-state-causing-lack-of-trajectory-lines/).
12-
- **Velocity Display Precision Fix** by [arthomnix](https://github.com/arthomnix) - Fixes the digit after the decimal point on the navball velocity display always being zero at velocities above 100m/s.
1312
- **Suppress Transmissions Falsely Urgent Fix** by [schlosrat](https://github.com/schlosrat) - Suppresses unhelpful map view log messages.
1413
- **VAB Redo Tooltip Fix** by [coldrifting](https://github.com/coldrifting) - Fixes the VAB Redo button tooltip not being at the same height as the button.
1514
- **Revert After Recovery Fix** by [munix](https://github.com/jan-bures) - Fixes the Revert buttons being enabled after recovering a vessel.
16-
- **Experiment Biome Pause Fix** by [dmarcuse](https://github.com/dmarcuse) - Fixes experiments that don't care about biome pausing when the biome changes.
17-
- **Stock Mission Fix** by [Cheese](https://github.com/cheese3660) - Fixes the incorrect completion conditions of the mission _Second Dibs: Gold Edition_.
15+
- **Stock Mission Fix** by [Cheese](https://github.com/cheese3660) - Fixes the incorrect completion conditions of some stock missions.
1816
- **Resource Manager UI Fix** by [munix](https://github.com/jan-bures) - Fixes the Resource Manager bug where moving a tank from the right pane back to the left pane caused it to duplicate.
1917
- **Decoupled Craft Name Fix** by [munix](https://github.com/jan-bures) - Decoupled and docked/undocked vessels get names based on the original vessels instead of "Default Name" and "(Combined)".
2018

@@ -36,4 +34,4 @@ To see what fixes are planned to be implemented, you can visit the [Issues page]
3634
If you want to toggle any of the included fixes off, you can do so in game: `Main menu` -> `Settings` -> `Mods` -> `Community Fixes`. The changes will apply after restarting the game.
3735

3836
## Contributing
39-
If you'd like to contribute to this project, please take a look at [our wiki](https://github.com/KSP2Community/CommunityFixes/wiki/Adding-your-fix).
37+
If you'd like to contribute to this project, please take a look at [our wiki](https://github.com/KSP2Community/CommunityFixes/wiki/Adding-your-fix).
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:missions #KSP2Mission_Secondary_Ike_LandingCrewed > missionStages > _0 > ConditionSet > PropertyCondition {
2+
RequireCurrentValue: true;
3+
}

plugin_template/swinfo.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@
55
"name": "Community Fixes",
66
"description": "Community project that aims to bring together bug fixes for KSP 2.",
77
"source": "https://github.com/KSP2Community/CommunityFixes",
8-
"version": "0.11.0",
8+
"version": "0.12.0",
99
"version_check": "https://raw.githubusercontent.com/KSP2Community/CommunityFixes/main/plugin_template/swinfo.json",
1010
"ksp2_version": {
11-
"min": "0.2.0",
11+
"min": "0.2.1",
1212
"max": "*"
1313
},
1414
"dependencies": [
1515
{
1616
"id": "com.github.x606.spacewarp",
1717
"version": {
18-
"min": "1.6.0",
18+
"min": "1.9.0",
1919
"max": "*"
2020
}
2121
},
2222
{
2323
"id": "PatchManager",
2424
"version": {
25-
"min": "0.6.0",
25+
"min": "0.9.3",
2626
"max": "*"
2727
}
2828
}
2929
]
30-
}
30+
}

src/CommunityFixes/Fix/ExperimentBiomePauseFix/ExperimentBiomePauseFix.cs

Lines changed: 0 additions & 100 deletions
This file was deleted.

src/CommunityFixes/Fix/VelocityDisplayPrecisionFix/VelocityDisplayPrecisionFix.cs

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/CommunityFixes/Fix/VesselLandedState/VesselLandedStateFix.cs

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@ public class VesselLandedStateFix: BaseFix
77
{
88
private void LateUpdate()
99
{
10-
var gameStateConfiguration = Game?.GlobalGameState?.GetGameState();
11-
if (gameStateConfiguration is { IsFlightMode: true })
10+
if (Game?.GlobalGameState?.GetGameState() is not { IsFlightMode: true })
1211
{
13-
var vessel = Game?.ViewController?.GetActiveSimVessel();
14-
if (vessel is { Situation: VesselSituations.Landed, AltitudeFromTerrain: > 50, SrfSpeedMagnitude: > 5 })
12+
return;
13+
}
14+
15+
var vessel = Game?.ViewController?.GetActiveSimVessel();
16+
if (vessel is
1517
{
16-
vessel.Landed = false;
17-
}
18+
Situation: VesselSituations.Landed or VesselSituations.Splashed,
19+
AltitudeFromSurface: > 50, SrfSpeedMagnitude: > 5
20+
})
21+
{
22+
vessel.Landed = false;
23+
vessel.Splashed = false;
1824
}
1925
}
20-
}
26+
}

0 commit comments

Comments
 (0)