diff --git a/nullptr/commander.py b/nullptr/commander.py index 6b41a8e..980dfdd 100644 --- a/nullptr/commander.py +++ b/nullptr/commander.py @@ -87,7 +87,8 @@ class Commander(CommandLine): arg = None self.ship.mission = arg self.ship.mission_status = 'init' - self.ship.mission_state['traject'] =[] + if 'traject' in self.ship.mission_state: + del self.ship.mission_state['traject'] self.centcom.start_mission(self.ship) def print_mission(self):