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); }
public override bool TryMerge(ScenPart other) { ScenPart_DisallowBuilding scenPart_DisallowBuilding = other as ScenPart_DisallowBuilding; return(scenPart_DisallowBuilding != null && scenPart_DisallowBuilding.building == this.building); }