I'm trying to get a part to break down while the player is in space, requiring them to pay someone to come rescue them. Because there's no obvious way to programmatically disable the player, the best I can figure out is to do the whole transaction in a single desc.
Therefore, I've got a cron which randomly fires at some point, and Sxxx's a mission when it does. This mission does nothing except cause an invisible ship to jump in; when the player observes it, the OnShipDone desc is displayed, and then the mission completes taking away some credits.
The trouble is, the credits disappear as soon as the cron fires, up to 2-3 seconds before the OnShipDone desc appears. Does anyone have any idea why this might happen? The mission has no travel destination, so the ship objective is the only part of it.