From 76bf80eaaee29f1fea18613304c5f7cd45c1f3ad Mon Sep 17 00:00:00 2001 From: liabru Date: Sun, 21 Mar 2021 19:11:30 +0000 Subject: [PATCH] remove deprecated backwards compatibility engine events from Matter.Runner --- src/core/Runner.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/Runner.js b/src/core/Runner.js index 7b6555f..8d9775e 100644 --- a/src/core/Runner.js +++ b/src/core/Runner.js @@ -119,7 +119,6 @@ var Common = require('./Common'); }; Events.trigger(runner, 'beforeTick', event); - Events.trigger(engine, 'beforeTick', event); // back compatibility if (runner.isFixed) { // fixed timestep @@ -164,7 +163,6 @@ var Common = require('./Common'); } Events.trigger(runner, 'tick', event); - Events.trigger(engine, 'tick', event); // back compatibility // if world has been modified, clear the render scene graph if (engine.world.isModified @@ -192,7 +190,6 @@ var Common = require('./Common'); } Events.trigger(runner, 'afterTick', event); - Events.trigger(engine, 'afterTick', event); // back compatibility }; /**