This commit is contained in:
Richard Davey 2017-07-02 22:27:14 +01:00
parent df97aeca2f
commit b3a9b2bed8
2 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,4 @@
var CHECKSUM = {
build: 'f62eb230-5da2-11e7-9471-651c81b97fd3'
build: '6c6f0010-5f6c-11e7-8930-6df9c1ac7bf6'
};
module.exports = CHECKSUM;

View file

@ -147,9 +147,10 @@ GlobalStateManager.prototype = {
return;
}
var ok = key;
key = this.getKey(key, stateConfig);
// console.log('GlobalStateManager.add', key, stateConfig, autoStart);
// console.log('GlobalStateManager.add', ok, key, stateConfig, autoStart);
var newState;
@ -211,6 +212,8 @@ GlobalStateManager.prototype = {
{
var newState = new State(stateConfig);
newState.sys.settings.key = key;
newState.sys.init(this.game);
this.createStateDisplay(newState);
@ -237,6 +240,8 @@ GlobalStateManager.prototype = {
{
newState.sys = new Systems(newState);
newState.sys.settings.key = key;
newState.sys.init(this.game);
this.createStateDisplay(newState);
@ -386,7 +391,7 @@ GlobalStateManager.prototype = {
{
if (data === undefined) { data = {}; }
console.log('start:', key);
// console.log('start:', key);
// console.dir(data);
// if not booted, then put state into a holding pattern