public override bool TryMerge(ScenPart other)
        {
            ScenPart_DisallowBuilding scenPart_DisallowBuilding = other as ScenPart_DisallowBuilding;

            if (scenPart_DisallowBuilding != null && scenPart_DisallowBuilding.building == this.building)
            {
                return(true);
            }
            return(false);
        }
Ejemplo n.º 2
0
        public override bool TryMerge(ScenPart other)
        {
            ScenPart_DisallowBuilding scenPart_DisallowBuilding = other as ScenPart_DisallowBuilding;

            return(scenPart_DisallowBuilding != null && scenPart_DisallowBuilding.building == this.building);
        }