From be68f9f7e0846c143b50438432e377a12a77843a Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 3 May 2007 00:17:38 +0000 Subject: [PATCH] Use an Integer here so that we play nicely with Java managers. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@289 c613c5cb-e716-0410-b11b-feb51c14d237 --- src/as/com/threerings/ezgame/client/EZGameConfigurator.as | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);