spotted by Komzpa
[potlatch2.git] / net / systemeD / halcyon / styleparser / StyleChooser.as
index 10503b10b2b4bc05f0d8fa14ff51742db0736f96..b73c621415c191d202d366974c9068a324111e27 100755 (executable)
@@ -127,7 +127,7 @@ package net.systemeD.halcyon.styleparser {
                // addZoom              <- adds into the current ruleChain (existing Rule)
                public function addZoom(z1:uint,z2:uint):void {
                        ruleChains[rcpos][ruleChains[rcpos].length-1].minZoom=z1;
-                       ruleChains[rcpos][ruleChains[rcpos].length-1].minZoom=z2;
+                       ruleChains[rcpos][ruleChains[rcpos].length-1].maxZoom=z2;
                }
                
                // addCondition <- adds into the current ruleChain (existing Rule)