From 18d83ff4d905e8c5a00efa46c507b2ed4de21d1a Mon Sep 17 00:00:00 2001 From: cha0s Date: Sat, 23 May 2020 13:54:07 -0500 Subject: [PATCH] chore: dead code --- packages/entity/traits/directional.trait.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/entity/traits/directional.trait.js b/packages/entity/traits/directional.trait.js index fec16d2..71b9f7c 100644 --- a/packages/entity/traits/directional.trait.js +++ b/packages/entity/traits/directional.trait.js @@ -50,11 +50,7 @@ export class Directional extends decorate(Trait) { } listeners() { - const listeners = { - directionChanged: () => { - this._directionChanged = true; - }, - }; + const listeners = {}; if (this.params.trackMovement) { listeners.movementRequest = (vector) => { if (Vector.isZero(vector)) {