diff --git a/vaq8lxuek1.js b/vaq8lxuek1.js index 8dfa683..8d6bab3 100644 --- a/vaq8lxuek1.js +++ b/vaq8lxuek1.js @@ -7,7 +7,7 @@ var texture = GameLib.EntityManager.Instance.findComponentById('gm3fvv45dl'); if (!this.initialized) { texture.offset.x = 0; texture.offset.y = 0; - texture.updateInstance(); + texture.updateInstance('offset'); this.initialized = true; return; } @@ -23,8 +23,7 @@ if (texture.offset.x >= 0.9) { } } -texture.instance.offset.x = texture.offset.x; -texture.instance.offset.y = texture.offset.y; +texture.updateInstance('offset'); //texture.updateInstance();