SHA256
Compare commits
1
Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
48a56cd3f2
|
@@ -21,9 +21,9 @@ public static class PlanetRendererPatch
|
||||
|
||||
return;
|
||||
|
||||
void ApplyColor(ref PlanetColor planetColor, scrPlanet targetPlanet, Color? customColor)
|
||||
void ApplyColor(ref PlanetColor planetColor, scrPlanet? targetPlanet, Color? customColor)
|
||||
{
|
||||
if (__instance == targetPlanet.planetRenderer && customColor != null)
|
||||
if (targetPlanet != null && __instance == targetPlanet.planetRenderer && customColor != null)
|
||||
planetColor = new PlanetColor(customColor.Value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user