diff --git a/vaq8lxuek1.js b/vaq8lxuek1.js index 2190fa4..5c2aae8 100644 --- a/vaq8lxuek1.js +++ b/vaq8lxuek1.js @@ -1,9 +1,9 @@ -var texture = GameLib.EntityManager.Instance.findComponentById('gm3fvv45dl'); - -if (!texture) { +if (!this.entityLoaded) { return; } +var texture = GameLib.EntityManager.Instance.findComponentById('gm3fvv45dl'); + if (!this.initialized) { texture.offset.x = 0; texture.offset.y = 0;