Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 44 bytes modified
parent
8c6fd43435
commit
35e4802d8c
|
@ -887,11 +887,13 @@ GameLib.CustomCode.prototype.powerup = function(gameObject) {
|
||||||
|
|
||||||
GameLib.CustomCode.prototype.createCorner = function(body, temp) {
|
GameLib.CustomCode.prototype.createCorner = function(body, temp) {
|
||||||
|
|
||||||
|
var backupOrientation = body.orientation;
|
||||||
|
|
||||||
body.orientation = temp.orientation;
|
body.orientation = temp.orientation;
|
||||||
|
|
||||||
body.applyToMesh();
|
body.applyToMesh();
|
||||||
|
|
||||||
body.orientation = backup.orientation;
|
body.orientation = backupOrientation;
|
||||||
|
|
||||||
body.backupMesh = body.mesh;
|
body.backupMesh = body.mesh;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue