The guiScreenWillChange event is now sent also before switching to the system data screen (F7).

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3734 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Nikos Barkas 2010-08-09 15:24:21 +00:00
parent e9935b6955
commit 7aa55be82c

View File

@ -2926,6 +2926,7 @@ static NSTimeInterval time_last_frame;
{
if (gui_screen != GUI_SCREEN_SYSTEM_DATA)
{
[self doScriptEvent:@"guiScreenWillChange" withArgument:GUIScreenIDToString(GUI_SCREEN_SYSTEM_DATA) andArgument:GUIScreenIDToString(gui_screen)];
[self setGuiToSystemDataScreen];
}
}