mirror of
				https://github.com/tobspr/shapez.io.git
				synced 2025-06-13 13:04:03 +00:00 
			
		
		
		
	Fix lint issues
This commit is contained in:
		
							parent
							
								
									aef96cff6e
								
							
						
					
					
						commit
						eb182d6e94
					
				@ -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…
	
		Reference in New Issue
	
	Block a user