diff --git a/engine/src/bullet-common/com/jme3/bullet/BulletAppState.java b/engine/src/bullet-common/com/jme3/bullet/BulletAppState.java index cdf93479d..518103a55 100644 --- a/engine/src/bullet-common/com/jme3/bullet/BulletAppState.java +++ b/engine/src/bullet-common/com/jme3/bullet/BulletAppState.java @@ -171,6 +171,7 @@ public class BulletAppState implements AppState, PhysicsTickListener { if (!initialized) { startPhysics(); } + this.app = app; this.stateManager = stateManager; initialized = true; } @@ -339,5 +340,6 @@ public class BulletAppState implements AppState, PhysicsTickListener { * parallel, update order is kept.
Multiple BulletAppStates will * execute in parallel in this mode. */ - PARALLEL,} + PARALLEL, + } }