Skip to content

Commit

Permalink
remove deprecated backwards compatibility engine events from Matter.R…
Browse files Browse the repository at this point in the history
…unner
  • Loading branch information
liabru committed Mar 21, 2021
1 parent 63a9e98 commit 76bf80e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/Runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -192,7 +190,6 @@ var Common = require('./Common');
}

Events.trigger(runner, 'afterTick', event);
Events.trigger(engine, 'afterTick', event); // back compatibility
};

/**
Expand Down

0 comments on commit 76bf80e

Please sign in to comment.