Skip to content

Commit

Permalink
Fixed issue #153. A moon created through the admin menu was created a…
Browse files Browse the repository at this point in the history
…s a planet.

Therefore, the vanilla planet detection could not find the moon in the system and added it again as a planet.
  • Loading branch information
thorwin99 committed Jun 14, 2023
1 parent 1690fd9 commit b2ad113
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -585,9 +585,11 @@ private void OnTypeEntered(long typeKey, string name)
switch (type)
{
case MySystemObjectType.PLANET:
case MySystemObjectType.MOON:
newObj = new MySystemPlanet();
break;
case MySystemObjectType.MOON:
newObj = new MySystemPlanetMoon();
break;
default:
newObj = new MySystemObject();
break;
Expand Down
4 changes: 2 additions & 2 deletions SEWorldGenPlugin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.6.14")]
[assembly: AssemblyFileVersion("2.1.6.14")]
[assembly: AssemblyVersion("2.1.6.15")]
[assembly: AssemblyFileVersion("2.1.6.15")]

0 comments on commit b2ad113

Please sign in to comment.