Only send guiScreenChanged() once when switching to shipyard screen.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4149 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2011-01-24 20:53:36 +00:00
parent ad400a23ac
commit c73749773e

View File

@ -1415,9 +1415,7 @@ static NSMutableDictionary* currentShipyard = nil;
if (guiChanged)
{
[gui setForegroundTextureKey:@"docked_overlay"];
[gui setBackgroundTextureKey:@"shipyard"];
[self noteGUIDidChangeFrom:oldScreen to:gui_screen];
}
}