possible fix for crashing agents acting like avatars

This commit is contained in:
Brad Hefta-Gaub 2015-09-30 16:02:33 -07:00
parent 34dc8bdbcb
commit 42d9045770

View file

@ -364,6 +364,7 @@ void Agent::processAgentAvatarAndAudio(float deltaTime) {
}
void Agent::aboutToFinish() {
setIsAvatar(false);// will stop timers for sending billboards and identity packets
if (_scriptEngine) {
_scriptEngine->stop();
}