diff --git a/sc2/src/uqm/planets/generate-base.cpp b/sc2/src/uqm/planets/generate-base.cpp index 8133d513f..0a9263cc1 100644 --- a/sc2/src/uqm/planets/generate-base.cpp +++ b/sc2/src/uqm/planets/generate-base.cpp @@ -247,6 +247,16 @@ namespace Planets ::detail:: Generate_m } std::cerr << " yes" << std::endl; + + if( star.Index ) + { + const std::string mesg= "Solar system with modern generator (`"s + + star.supplement + "`) has a legacy index!"; + + std::cerr << mesg << std::endl; + + throw std::runtime_error{ mesg }; + } } } }