Skip to content

Commit

Permalink
Updated dupe file with different content check
Browse files Browse the repository at this point in the history
  • Loading branch information
CetoBasilius committed Jul 21, 2024
1 parent 5ab25c4 commit 1dff271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZetoEngine.js
Original file line number Diff line number Diff line change
Expand Up @@ -837,8 +837,8 @@ class ZetoEngine extends ZetoEventObject {

if (this.loadedIds[type][asset.id]) {
let existingAsset = this.getAsset(type, asset.id);
if (existingAsset != asset) {
console.warn('Duplicate ' + type + '.' + asset.id + ' with different contents');
if (existingAsset.src != asset.src) {
console.warn('Duplicate ' + type + '.' + asset.id + ' with different src');
}
}

Expand Down

0 comments on commit 1dff271

Please sign in to comment.