Skip to content

Commit

Permalink
Disabled Hyperscape for end users.
Browse files Browse the repository at this point in the history
  • Loading branch information
solace-10 committed Apr 7, 2024
1 parent 416a794 commit c45583a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Game/bin/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.1
2.0.2
6 changes: 2 additions & 4 deletions Game/src/menus/newgamewindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,12 @@ void NewGameWindow::StartNewGame()
m_GalaxyCreationInfo = GalaxyCreationInfo( GalaxyCreationInfo::CreationMode::InfiniteWar );
g_pGame->StartNewLegacyGame( m_ShipCustomisationData, m_CompanionShipTemplate, m_pTipsCheckbox->IsChecked(), m_GalaxyCreationInfo );
}
#ifdef _DEBUG
else if ( gameMode == GameMode::Hyperscape )
{
g_pGame->StartNewHyperscapeGame( m_ShipCustomisationData, m_pTipsCheckbox->IsChecked() );
}
#endif
else
{
Genesis::FrameWork::GetLogger()->LogError( "Not implemented." );
Expand Down Expand Up @@ -237,11 +239,7 @@ void NewGameWindow::CreateGameModeSelectionPage()
m_Pages[ static_cast<size_t>( PageId::GameMode ) ] = pPage;
pButtonCampaign->Toggle( true );

#ifdef _DEBUG
pButtonHyperscape->Enable( false );
#else
pButtonHyperscape->Enable( true );
#endif
}

void NewGameWindow::CreateShipSelectionPage()
Expand Down

0 comments on commit c45583a

Please sign in to comment.