Skip to content

Commit

Permalink
feat: add mounts to static data cache on add
Browse files Browse the repository at this point in the history
  • Loading branch information
eseidel committed Oct 15, 2023
1 parent 34a60d7 commit b525050
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cli/lib/behavior/jobs/mount_job.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ Future<JobResult> doMountJob(
ship,
mountJob.mountSymbol,
);
// The mount we added might be new to our static_data cache, so add it in case.
caches.static.mounts.addAll(ship.mounts);
// We're done.
state.isComplete = true;
shipInfo(ship, 'Mounted ${mountJob.mountSymbol}.');
Expand Down

0 comments on commit b525050

Please sign in to comment.