Set gameconfig to an empty object until populated by the backend.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@273 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-04-09 20:45:03 +00:00
parent bf230b8998
commit eab2ae7d91
@@ -612,9 +612,8 @@ public class EZGameControl extends BaseControl
{
// get our gamedata
_gameData = o.gameData;
_gameConfig = o.gameConfig;
if (_gameConfig == null) {
_gameConfig = {};
if (o.gameConfig != null) {
_gameConfig = o.gameConfig;
}
// and functions
@@ -684,7 +683,7 @@ public class EZGameControl extends BaseControl
protected var _gameData :Object;
/** Contains any custom game configuration data. */
protected var _gameConfig :Object;
protected var _gameConfig :Object = {};
/** Contains functions exposed to us from the EZGame host. */
protected var _funcs :Object;