Sign in to follow this  
NermNermNerm

Newb question - my plugin quits working after a while

Recommended Posts

I'm sure that there's a FM somewhere that I haven't R'ed, but...  I have a simple dialog and a toolbar button that I'm trying to get right.  The dialog pops up and works correctly when I initially load the game.  I get my little dialog showing up, and I get the toolbar button.  If I enter the VAB, the dialog goes away - but the toolbar button remains.  If I back out back to KSC, the toolbar button disappears and the dialog is gone too.  There doesn't appear to be anything in the output log to suggest any reason why.  My log messages just quit turning up.  Could somebody gimme a clue?

https://github.com/SteveBenz/ColonizationByNerm/blob/master/src/DebugControls.cs

 

Share this post


Link to post
Share on other sites

Solved - I struck a land-mine.  I had copied an example from something that had KSPAddOn.KSPAddOn.once = true.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this