Jump to content

ghjm

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by ghjm

  1. Just posting a note that if I name a ship: Odyssey 2 "Walrus" (with quotes in it), which KSP accepts, MechJeb goes wonky. All custom windows disappear and the custom window editor no longer shows any available settings.
  2. Hi, I fixed this and posted a link to it over in the 0.20 compatibility thread. The issue is that the loader was instantiating the EdTools class four times. So it's not that GetKeyDown() was running in four frames - it was running once in the frame when the key was pressed, like it's supposed to - it was just doing so for each instance of EdTools. I don't know anything about UnityEngine or how module loading is supposed to work or what the calls to DontDestroyOnLoad are meant to do, so I wasn't keen to change them - instead, what I did was make the EdTools class instantiate as a singleton by caching the first instantiation as a global static variable. It works for me, at least until someone smarter comes along.
×
×
  • Create New...