Skip to content

Commit 1288775

Browse files
author
BERGER Thierry
committed
Testbed worldOwner get() consistency
1 parent 1585006 commit 1288775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nphysics_testbed2d/src/testbed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ impl State for Testbed {
489489
&format!(
490490
"Simulation time: {:.*}sec.",
491491
4,
492-
self.world.get_mut().performance_counters().step_time(),
492+
self.world.get().performance_counters().step_time(),
493493
)[..],
494494
&Point2::origin(),
495495
60.0,

0 commit comments

Comments
 (0)