summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp
index b290a1b84..97dbf5c72 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -234,7 +234,7 @@ protected:
const Station *st;
FOR_ALL_STATIONS(st) {
- if (st->owner == owner || (st->owner == OWNER_NONE && HasStationInUse(st->index, owner))) {
+ if (st->owner == owner || (st->owner == OWNER_NONE && HasStationInUse(st->index, true, owner))) {
if (this->facilities & st->facilities) { // only stations with selected facilities
int num_waiting_cargo = 0;
for (CargoID j = 0; j < NUM_CARGO; j++) {