diff --git a/src/object_cmd.cpp b/src/object_cmd.cpp index 75d15e56ee..0b8f733eb9 100644 --- a/src/object_cmd.cpp +++ b/src/object_cmd.cpp @@ -174,6 +174,8 @@ void UpdateCompanyHQ(TileIndex tile, uint score) void UpdateObjectColours(const Company *c) { for (Object *obj : Object::Iterate()) { + if (!IsTileType(obj->location.tile, MP_OBJECT)) continue; + Owner owner = GetTileOwner(obj->location.tile); /* Not the current owner, so colour doesn't change. */ if (owner != c->index) continue;