[Gcblue-commits] gcb_wx/scripts Menu.py,1.9,1.10
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-12-05 02:49:55
|
Update of /cvsroot/gcblue/gcb_wx/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20399/scripts Modified Files: Menu.py Log Message: Sonar work, passive sonar, torpedoes Index: Menu.py =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/scripts/Menu.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Menu.py 2 Dec 2004 04:17:24 -0000 1.9 --- Menu.py 5 Dec 2004 02:49:46 -0000 1.10 *************** *** 57,60 **** --- 57,63 ---- def BuildUnitMenu(UnitMenu, UnitInfo): UnitMenu.Clear() + + if (not UnitInfo.IsValid()): + return UnitMenu.AddItemUI('Change heading','SetHeading','Heading') # Speed submenu |