We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code works as expected (alarm is created in the CreateNewAlarm function)
CreateNewAlarm
Log("Alarm Is Not Found, Creating"); CreateNewAlarm(EditorLogic.fetch.ship.shipName, CalcAlarmTime()); //HighLogic.LoadScene(GameScenes.SPACECENTER);
but after uncommenting LoadScene() for exit from the Editor to KSC, exiting works, but Alarm is not created. Log:
[LOG 20:54:01.794] SKA: OnLoadClick: STA [LOG 20:54:01.799] SKA: Alarm Is Not Found, Creating [LOG 20:54:01.806] SKA: New Alarm: V1 Space Craft, 4.62962962962963 days, ID: fd3baf9907de42f5b345f5139c5481cb [LOG 20:54:01.834] 1/18/2019 8:54:01 PM,KerbalAlarmClock,AppLauncher: Destroying Button-Button Count:9 [LOG 20:54:01.836] ScaleModList: listSize 164 maxListSize 722 [LOG 20:54:01.838] [UIMasterController]: HideUI [LOG 20:54:01.848] QuickStart(QPersistent)[2.16]: OnDestroy [LOG 20:54:02.195] [HighLogic]: =========================== Scene Change : From EDITOR to SPACECENTER ===================== [LOG 20:54:02.196] 1/18/2019 8:54:02 PM,KerbalAlarmClock,Scene Change from 'EDITOR' to 'SPACECENTER' [LOG 20:54:02.740] 1/18/2019 8:54:02 PM,KerbalAlarmClock,Destroying the KerbalAlarmClock-KACEditor [LOG 20:54:02.740] 1/18/2019 8:54:02 PM,KerbalAlarmClock,API Cleaned up [LOG 20:54:02.936] [AddonLoader]: Instantiating addon 'KACSpaceCenter' from assembly 'KerbalAlarmClock'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This code works as expected (alarm is created in the
CreateNewAlarm
function)but after uncommenting LoadScene() for exit from the Editor to KSC, exiting works, but Alarm is not created.
Log:
The text was updated successfully, but these errors were encountered: