mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix backwards compat that was breaking Lonesome Lake
This commit is contained in:
parent
d7699a4556
commit
129c9f594a
6
NewHorizons/External/Configs/PlanetConfig.cs
vendored
6
NewHorizons/External/Configs/PlanetConfig.cs
vendored
@ -669,14 +669,12 @@ namespace NewHorizons.External.Configs
|
|||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(volume.gameOverText))
|
if (!string.IsNullOrEmpty(volume.gameOverText))
|
||||||
{
|
{
|
||||||
if (volume.gameOver == null)
|
volume.gameOver ??= new();
|
||||||
{
|
|
||||||
volume.gameOver = new();
|
|
||||||
}
|
|
||||||
volume.gameOver.text = volume.gameOverText;
|
volume.gameOver.text = volume.gameOverText;
|
||||||
}
|
}
|
||||||
if (volume.creditsType != null)
|
if (volume.creditsType != null)
|
||||||
{
|
{
|
||||||
|
volume.gameOver ??= new();
|
||||||
volume.gameOver.creditsType = (SerializableEnums.NHCreditsType)volume.creditsType;
|
volume.gameOver.creditsType = (SerializableEnums.NHCreditsType)volume.creditsType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user