try another way of fixing held object snagging at slow velocity

This commit is contained in:
Seth Alves 2015-10-19 10:26:37 -07:00
parent 26dcaeb056
commit 2bdcb256d8

View file

@ -302,7 +302,7 @@ bool EntityMotionState::remoteSimulationOutOfSync(uint32_t simulationStep) {
_serverPosition += dt * _serverVelocity;
}
if (_serverActionData != _entity->getActionData()) {
if (_serverActionData != _entity->getActionData() || _entity->getActionDataDirty()) {
setOutgoingPriority(SCRIPT_EDIT_SIMULATION_PRIORITY);
return true;
}