util.py (539B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\eve\client\script\ui\shared\factionalWarfare\util.py 2 3 4 def OpenEnlistmentFlowIfUnseen(): 5 if session.warfactionid is None and settings.user.ui.Get('autoOpenEnlistmentWindow', True): 6 settings.user.ui.Set('autoOpenEnlistmentWindow', False) 7 sm.GetService('cmd').OpenFwEnlistment() 8 elif session.warfactionid is not None and settings.user.ui.Get('autoOpenEnlistmentWindow', True): 9 settings.user.ui.Set('autoOpenEnlistmentWindow', False)