mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-04-27 23:31:47 -07:00
Fix lint issues
This commit is contained in:
parent
aef96cff6e
commit
eb182d6e94
1 changed files with 6 additions and 7 deletions
|
|
@ -27,8 +27,8 @@ export class ItemEjectorSystem extends GameSystemWithFilter {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Entity} entity
|
||||
*
|
||||
* @param {Entity} entity
|
||||
*/
|
||||
invalidateCache(entity) {
|
||||
if (!entity.components.StaticMapEntity) {
|
||||
|
|
@ -63,7 +63,6 @@ export class ItemEjectorSystem extends GameSystemWithFilter {
|
|||
const entity = this.allEntities[i];
|
||||
entryCount += this.recomputeSingleEntityCache(entity);
|
||||
}
|
||||
|
||||
}
|
||||
logger.log("Found", entryCount, "entries to update");
|
||||
|
||||
|
|
@ -71,8 +70,8 @@ export class ItemEjectorSystem extends GameSystemWithFilter {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Rectangle} area
|
||||
*
|
||||
* @param {Rectangle} area
|
||||
*/
|
||||
recomputeAreaCaches(area) {
|
||||
let entryCount = 0;
|
||||
|
|
@ -88,8 +87,8 @@ export class ItemEjectorSystem extends GameSystemWithFilter {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Entity} entity
|
||||
*
|
||||
* @param {Entity} entity
|
||||
*/
|
||||
recomputeSingleEntityCache(entity) {
|
||||
const ejectorComp = entity.components.ItemEjector;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue