Skip to content

Commit

Permalink
Fix cache being stale after a part install.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianestrachan committed Dec 4, 2013
1 parent eae53d4 commit 441cea9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/veh_interact.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1577,6 +1577,7 @@ void complete_vehicle (game *g)
g->add_msg (_("You install a %s into the %s."),
vehicle_part_types[part_id].name.c_str(), veh->name.c_str());
g->u.practice (g->turn, "mechanics", vehicle_part_types[part_id].difficulty * 5 + 20);
veh->find_parts();
break;
case 'r':
if (veh->parts[vehicle_part].hp <= 0) {
Expand Down

0 comments on commit 441cea9

Please sign in to comment.