diff options
Diffstat (limited to 'ship_gui.c')
-rw-r--r-- | ship_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_gui.c b/ship_gui.c index 375afe857..30a366539 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -996,7 +996,7 @@ static void PlayerShipsWndProc(Window *w, WindowEvent *e) tile = _last_built_ship_depot_tile; do { - if (IsTileOwner(tile, _local_player) && IsTileDepotType(tile, TRANSPORT_WATER)) { + if (IsTileDepotType(tile, TRANSPORT_WATER) && IsTileOwner(tile, _local_player)) { ShowShipDepotWindow(tile); ShowBuildShipWindow(tile); return; |