Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 68 bytes modified
parent
9afbd62538
commit
ea3df82519
|
@ -1168,6 +1168,8 @@ GameLib.CustomCode.prototype.backup = function() {
|
|||
|
||||
this.backupOrientation = this.state.orientation;
|
||||
|
||||
this.backupPreviousOrientation = this.backupOrientation;
|
||||
|
||||
}.bind(this)
|
||||
|
||||
GameLib.CustomCode.prototype.restore = function() {
|
||||
|
@ -1234,7 +1236,7 @@ GameLib.CustomCode.prototype.restore = function() {
|
|||
}.bind(this)
|
||||
);
|
||||
|
||||
this.state.orientation = this.backupOrientation;
|
||||
this.state.orientation = this.backupPreviousOrientation;
|
||||
|
||||
this.backupSnake = null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue