From 47e0ad44257d386e3647564c5b2120042c207992 Mon Sep 17 00:00:00 2001 From: rezural <69941255+rezural@users.noreply.github.com> Date: Thu, 31 Dec 2020 12:00:33 +1100 Subject: Update src_testbed/testbed.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sébastien Crozet --- src_testbed/testbed.rs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src_testbed') diff --git a/src_testbed/testbed.rs b/src_testbed/testbed.rs index 62f02c1..c169a85 100644 --- a/src_testbed/testbed.rs +++ b/src_testbed/testbed.rs @@ -1291,13 +1291,11 @@ impl State for Testbed { } for plugin in &mut self.plugins { - { - plugin.run_callbacks( - window, - &mut self.harness.physics, - &self.harness.state, - ); - } + plugin.run_callbacks( + window, + &mut self.harness.physics, + &self.harness.state, + ); } // if true { -- cgit