From 3ed9f506a564d85eb50f87baae457da0370e7c3a Mon Sep 17 00:00:00 2001 From: Josh Anthony Date: Sat, 11 Aug 2018 17:23:50 -0500 Subject: [PATCH] Update Squizz.js Remove unnecessary second call to `super()` --- ch04/11-tilemaps-level/src/entities/Squizz.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ch04/11-tilemaps-level/src/entities/Squizz.js b/ch04/11-tilemaps-level/src/entities/Squizz.js index 4ec6bef..10f9728 100644 --- a/ch04/11-tilemaps-level/src/entities/Squizz.js +++ b/ch04/11-tilemaps-level/src/entities/Squizz.js @@ -24,7 +24,6 @@ class Squizz extends TileSprite { super.update(dt); const { pos, controls, speed, dir } = this; - super.update(dt); if ((this.nextCell -= dt) <= 0) { this.nextCell += speed;