mirror of
https://github.com/lubosz/overte.git
synced 2025-08-04 17:35:30 +02:00
Merge pull request #7070 from sethalves/no-sink-upon-server-restart
don't sink through floor when server restarts
This commit is contained in:
commit
b1c6d1d256
1 changed files with 2 additions and 0 deletions
|
@ -3878,6 +3878,8 @@ void Application::clearDomainOctreeDetails() {
|
||||||
qCDebug(interfaceapp) << "Clearing domain octree details...";
|
qCDebug(interfaceapp) << "Clearing domain octree details...";
|
||||||
// reset the environment so that we don't erroneously end up with multiple
|
// reset the environment so that we don't erroneously end up with multiple
|
||||||
|
|
||||||
|
_physicsEnabled = false;
|
||||||
|
|
||||||
// reset our node to stats and node to jurisdiction maps... since these must be changing...
|
// reset our node to stats and node to jurisdiction maps... since these must be changing...
|
||||||
_entityServerJurisdictions.withWriteLock([&] {
|
_entityServerJurisdictions.withWriteLock([&] {
|
||||||
_entityServerJurisdictions.clear();
|
_entityServerJurisdictions.clear();
|
||||||
|
|
Loading…
Reference in a new issue