mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 07:37:16 +02:00
Zero avatar velocity if protocol version mismatch so that overlays show
This commit is contained in:
parent
ad00e1bdca
commit
0e1e44a3f5
1 changed files with 1 additions and 0 deletions
|
@ -2289,6 +2289,7 @@ void Application::domainConnectionRefused(const QString& reasonMessage, int reas
|
|||
QString message = "Unable to connect to the location you are visiting.\n";
|
||||
message += reasonMessage;
|
||||
OffscreenUi::asyncWarning("", message);
|
||||
getMyAvatar()->setWorldVelocity(glm::vec3(0.0f));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue