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
This commit is contained in:
Nathan Curtis
2007-05-03 20:42:35 +00:00
parent dd5993402a
commit a9aab4b39a
@@ -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);