diff --git a/src/as/com/threerings/ezgame/client/EZGameConfigurator.as b/src/as/com/threerings/ezgame/client/EZGameConfigurator.as index 382f5dd8..adf5dd54 100644 --- a/src/as/com/threerings/ezgame/client/EZGameConfigurator.as +++ b/src/as/com/threerings/ezgame/client/EZGameConfigurator.as @@ -27,6 +27,7 @@ import mx.controls.ComboBox; import mx.controls.HSlider; import mx.controls.Label; +import com.threerings.util.Integer; import com.threerings.util.StreamableHashMap; import com.threerings.util.StringUtil; @@ -102,7 +103,7 @@ public class EZGameConfigurator extends FlexGameConfigurator var ident :String = String(_customConfigs[ii]); var control :UIComponent = (_customConfigs[ii + 1] as UIComponent); if (control is LabeledSlider) { - params.put(ident, (control as LabeledSlider).slider.value); + params.put(ident, new Integer((control as LabeledSlider).slider.value)); } else if (control is CheckBox) { params.put(ident, (control as CheckBox).selected);