mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
fixed lint errors
This commit is contained in:
parent
6f29a5fb42
commit
c09151d846
@ -172,8 +172,7 @@ export class Savegame extends ReadWriteProxy {
|
|||||||
if (!this.currentData.dump) return false;
|
if (!this.currentData.dump) return false;
|
||||||
if (Array.isArray(this.currentData.dump.entities)) {
|
if (Array.isArray(this.currentData.dump.entities)) {
|
||||||
return this.currentData.dump.entities.length;
|
return this.currentData.dump.entities.length;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
return this.currentData.dump.entities.size;
|
return this.currentData.dump.entities.size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user