Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 70 bytes modified
parent
5edbb1aec0
commit
4495fdd2e7
|
@ -1246,6 +1246,8 @@ GameLib.CustomCode.prototype.restore = function() {
|
|||
clone.backupMesh.position.z = 0.1;
|
||||
|
||||
clone.backupMesh.rotation.z = clone.orientation * Math.PI / 2;
|
||||
clone.backupMesh.rotation.z += ((Math.PI / 2) * clone.flip);
|
||||
|
||||
clone.backupMesh.updateInstance('rotation');
|
||||
|
||||
clone.backupMesh.updateInstance('visible');
|
||||
|
|
Loading…
Reference in New Issue