Retain long range destination across saves

This commit is contained in:
Kevin Anthoney 2014-07-23 19:04:28 +01:00
parent febd53b27d
commit 32b30223a7
2 changed files with 2 additions and 1 deletions

View File

@ -7570,6 +7570,7 @@ static GLfloat sBaseMass = 0.0;
[gui setForegroundTextureKey:[self status] == STATUS_DOCKED ? @"docked_overlay" : @"overlay"]; [gui setForegroundTextureKey:[self status] == STATUS_DOCKED ? @"docked_overlay" : @"overlay"];
[gui setBackgroundTextureKey:@"short_range_chart"]; [gui setBackgroundTextureKey:@"short_range_chart"];
[UNIVERSE findSystemCoordinatesWithPrefix:[[UNIVERSE getSystemName:found_system_seed] lowercaseString] exactMatch:YES];
[self noteGUIDidChangeFrom:oldScreen to:gui_screen]; [self noteGUIDidChangeFrom:oldScreen to:gui_screen];
} }
} }

View File

@ -1608,7 +1608,7 @@ static NSTimeInterval time_last_frame;
{ {
case GUI_SCREEN_SHORT_RANGE_CHART: case GUI_SCREEN_SHORT_RANGE_CHART:
if ([self status] != STATUS_WITCHSPACE_COUNTDOWN) if ([self status] != STATUS_WITCHSPACE_COUNTDOWN && chart_mode == CHART_MODE_LONG_RANGE)
{ {
if ([[gameView typedString] length] > 0) if ([[gameView typedString] length] > 0)
{ {