mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Log error if default system override is invalid #702
This commit is contained in:
parent
685842843e
commit
621ab4e33a
@ -906,6 +906,11 @@ namespace NewHorizons
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (!string.IsNullOrEmpty(_defaultSystemOverride))
|
||||||
|
{
|
||||||
|
NHLogger.LogError($"The given default system override {_defaultSystemOverride} is invalid - no system exists with that name");
|
||||||
|
}
|
||||||
|
|
||||||
_currentStarSystem = _defaultStarSystem;
|
_currentStarSystem = _defaultStarSystem;
|
||||||
IsWarpingFromShip = false;
|
IsWarpingFromShip = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user