repo: janusweb action: commit revision: path_from: revision_from: 419406b41e3730c704522e286421affc11f81b84: path_to: revision_to:
commit 419406b41e3730c704522e286421affc11f81b84 Author: James BaicoianuDate: Mon Jul 13 10:07:28 2020 -0700 Use this.getAsset() instead of global asset pack diff --git a/scripts/janusparticle.js b/scripts/janusparticle.js
--- a/scripts/janusparticle.js
+++ b/scripts/janusparticle.js
@@ -75,7 +75,7 @@ elation.require(['janusweb.janusbase'], function() {
var texture = null;
if (this.image_id) {
- texture = elation.engine.assets.find('image', this.image_id);
+ texture = this.getAsset('image', this.image_id);
//elation.events.add(texture, 'asset_load', elation.bind(this, this.assignTextures));
elation.events.add(texture, 'update', elation.bind(this, this.refresh));
}
-----END OF PAGE-----