From a9aab4b39a6f091408ee6c500fddc66d087885b3 Mon Sep 17 00:00:00 2001 From: Nathan Curtis Date: Thu, 3 May 2007 20:42:35 +0000 Subject: [PATCH] added helpful comment so I don't make the same mistake again in the future git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@293 c613c5cb-e716-0410-b11b-feb51c14d237 --- src/as/com/threerings/ezgame/client/EZGameConfigurator.as | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/as/com/threerings/ezgame/client/EZGameConfigurator.as b/src/as/com/threerings/ezgame/client/EZGameConfigurator.as index d413a8f0..153c8242 100644 --- a/src/as/com/threerings/ezgame/client/EZGameConfigurator.as +++ b/src/as/com/threerings/ezgame/client/EZGameConfigurator.as @@ -103,7 +103,9 @@ 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); + // this is wrapped in our own Integer class so that it can play in a friendly + // way with Java that deserializes this StreamableHashMap + params.put(ident, new Integer((control as LabeledSlider).slider.value)); } else if (control is CheckBox) { params.put(ident, (control as CheckBox).selected);