remove time from plugin.run_callbacks

This commit is contained in:
rezural
2020-12-31 15:33:33 +11:00
parent 6d5b6d778d
commit 5fb9304f4c

View File

@@ -185,12 +185,7 @@ impl Harness {
} }
for plugin in &mut self.plugins { for plugin in &mut self.plugins {
plugin.run_callbacks( plugin.run_callbacks(&mut self.physics, &self.events, &self.state)
&mut self.physics,
&self.events,
&self.state,
self.state.time,
)
} }
self.events.poll_all(); self.events.poll_all();