From 503a06e41420dc6881ed633dca73c6e2c740efe1 Mon Sep 17 00:00:00 2001 From: Bill Date: Wed, 16 Mar 2022 19:42:55 -0400 Subject: [PATCH] Fix eslint errors --- src/nitro/session/badge/BadgeImageManager.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/nitro/session/badge/BadgeImageManager.ts b/src/nitro/session/badge/BadgeImageManager.ts index 7ac18513..387a7243 100644 --- a/src/nitro/session/badge/BadgeImageManager.ts +++ b/src/nitro/session/badge/BadgeImageManager.ts @@ -207,20 +207,20 @@ export class BadgeImageManager implements IDisposable for(const partName of partNames) { if(!partName || !partName.length) continue; - + const texture = this._assets.getTexture(`badgepart_${ partName }`); - + if(!texture) continue; - + const { x, y } = part.calculatePosition(texture); const sprite = new NitroSprite(texture); - + sprite.position.set(x, y); - + if(isFirst) sprite.tint = parseInt(this._groupPartColors.get(part.color), 16); - + isFirst = false; - + container.addChild(sprite); } }