Skip to content

Commit b3a9b2b

Browse files
committed
1 parent df97aec commit b3a9b2b

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: 'f62eb230-5da2-11e7-9471-651c81b97fd3'
2+
build: '6c6f0010-5f6c-11e7-8930-6df9c1ac7bf6'
33
};
44
module.exports = CHECKSUM;

v3/src/state/GlobalStateManager.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,10 @@ GlobalStateManager.prototype = {
147147
return;
148148
}
149149

150+
var ok = key;
150151
key = this.getKey(key, stateConfig);
151152

152-
// console.log('GlobalStateManager.add', key, stateConfig, autoStart);
153+
// console.log('GlobalStateManager.add', ok, key, stateConfig, autoStart);
153154

154155
var newState;
155156

@@ -211,6 +212,8 @@ GlobalStateManager.prototype = {
211212
{
212213
var newState = new State(stateConfig);
213214

215+
newState.sys.settings.key = key;
216+
214217
newState.sys.init(this.game);
215218

216219
this.createStateDisplay(newState);
@@ -237,6 +240,8 @@ GlobalStateManager.prototype = {
237240
{
238241
newState.sys = new Systems(newState);
239242

243+
newState.sys.settings.key = key;
244+
240245
newState.sys.init(this.game);
241246

242247
this.createStateDisplay(newState);
@@ -386,7 +391,7 @@ GlobalStateManager.prototype = {
386391
{
387392
if (data === undefined) { data = {}; }
388393

389-
console.log('start:', key);
394+
// console.log('start:', key);
390395
// console.dir(data);
391396

392397
// if not booted, then put state into a holding pattern

0 commit comments

Comments
 (0)