diff --git a/src/group_cmd.cpp b/src/group_cmd.cpp --- a/src/group_cmd.cpp +++ b/src/group_cmd.cpp @@ -335,6 +335,7 @@ CommandCost CmdSetGroupReplaceProtection g->replace_protection = HasBit(p2, 0); InvalidateWindowData(GetWindowClassForVehicleType(g->vehicle_type), (g->vehicle_type << 11) | VLW_GROUP_LIST | _current_company); + InvalidateWindowData(WC_REPLACE_VEHICLE, g->vehicle_type); } return CommandCost();