1
0
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:
Bjorn Stromberg 2020-07-23 16:06:32 +09:00
parent 48905aa98d
commit c460d0a4bd

View File

@ -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;