summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 53bc2a263..4707b47bf 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -232,7 +232,7 @@ struct RefitOption {
FORCEINLINE bool operator != (const RefitOption &other) const
{
- return other.cargo != this->cargo || other.subtype != this->subtype;
+ return other.cargo != this->cargo || other.value != this->value;
}
};