Skip to content

UNSET breaks bound variables like GEAR, TARGET, etc. #2499

@Dunbaratu

Description

@Dunbaratu

To recreate:

  • Have a savegame in which there is at least something in kerbin orbit already.
  • Put a new vessel on launchpad with a kOS unit on it.
  • While controlling that new vessel on launchpad, go to map view and use mouse to select a ship in orbit as target.
  • In the terminal window of the new vessel, type UNSET TARGET.

It throws a NullRef, and from then on, SET TARGET will not work anymore, and any attempt to get at the "real" target fails.

(I have no idea if this is related to #2495 or not. It probably isn't but it could be.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWeird outcome is probably not what the mod programmer expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions