From 3a1f70e5ccfc9a2438fd85839b9b9e2bd35c523e Mon Sep 17 00:00:00 2001 From: Nathan Curtis Date: Thu, 3 May 2007 18:20:47 +0000 Subject: [PATCH] there is no need to wrap this in an Integer... and apparently when pulling it out of the hashmap and casting it to a string we get [object Object] instead of what you would expect git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@290 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 adf5dd54..f414d871 100644 --- a/src/as/com/threerings/ezgame/client/EZGameConfigurator.as +++ b/src/as/com/threerings/ezgame/client/EZGameConfigurator.as @@ -103,7 +103,8 @@ 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, new Integer((control as LabeledSlider).slider.value)); + //params.put(ident, new Integer((control as LabeledSlider).slider.value)); + params.put(ident, (control as LabeledSlider).slider.value); } else if (control is CheckBox) { params.put(ident, (control as CheckBox).selected);