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
This commit is contained in:
Michael Bayne
2007-05-03 00:17:38 +00:00
parent 3fffe2e9b5
commit be68f9f7e0
@@ -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);