diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp index db024b613..9618dda6e 100644 --- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp +++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp @@ -8496,6 +8496,7 @@ bool PhysicsServerCommandProcessor::processRemoveBodyCommand(const struct Shared m_data->m_worldImporters.removeAtIndex(foundIndex); delete importer; m_data->m_userCollisionShapeHandles.freeHandle(removeCollisionShapeId); + serverCmd.m_type = CMD_REMOVE_BODY_COMPLETED; } } }