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:
@@ -612,9 +612,8 @@ public class EZGameControl extends BaseControl
|
|||||||
{
|
{
|
||||||
// get our gamedata
|
// get our gamedata
|
||||||
_gameData = o.gameData;
|
_gameData = o.gameData;
|
||||||
_gameConfig = o.gameConfig;
|
if (o.gameConfig != null) {
|
||||||
if (_gameConfig == null) {
|
_gameConfig = o.gameConfig;
|
||||||
_gameConfig = {};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// and functions
|
// and functions
|
||||||
@@ -684,7 +683,7 @@ public class EZGameControl extends BaseControl
|
|||||||
protected var _gameData :Object;
|
protected var _gameData :Object;
|
||||||
|
|
||||||
/** Contains any custom game configuration data. */
|
/** Contains any custom game configuration data. */
|
||||||
protected var _gameConfig :Object;
|
protected var _gameConfig :Object = {};
|
||||||
|
|
||||||
/** Contains functions exposed to us from the EZGame host. */
|
/** Contains functions exposed to us from the EZGame host. */
|
||||||
protected var _funcs :Object;
|
protected var _funcs :Object;
|
||||||
|
|||||||
Reference in New Issue
Block a user