From 177adb9684f7bd15aa59aa3a558204e4773cb881 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 18 May 2021 11:58:15 +0100 Subject: [PATCH] fix copy-pasta --- src/effects/spaceinvaders/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/effects/spaceinvaders/index.ts b/src/effects/spaceinvaders/index.ts index 55eb6dc29f..9520e8366a 100644 --- a/src/effects/spaceinvaders/index.ts +++ b/src/effects/spaceinvaders/index.ts @@ -97,13 +97,13 @@ export default class SpaceInvaders implements ICanvasEffect { this.context.clearRect(0, 0, this.context.canvas.width, this.context.canvas.height); this.lastAnimationTime = Date.now(); - this.animateAndRenderSnowflakes(); + this.animateAndRenderInvaders(); } requestAnimationFrame(this.renderLoop); } }; - private animateAndRenderSnowflakes() { + private animateAndRenderInvaders() { if (!this.context || !this.context.canvas) { return; }