mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Shorten line by using string template
This commit is contained in:
parent
48905aa98d
commit
c460d0a4bd
@ -159,7 +159,7 @@ export class AtlasSprite extends BaseSprite {
|
||||
const link = this.linksByResolution[scale];
|
||||
|
||||
if (!link) {
|
||||
assert(false, "Link not known: " + scale + " (having " + Object.keys(this.linksByResolution) + ")");
|
||||
assert(false, `Link not known: ${scale} (having ${Object.keys(this.linksByResolution)})`);
|
||||
}
|
||||
|
||||
const scaleW = w / link.w;
|
||||
|
Loading…
Reference in New Issue
Block a user