minimize diff

This commit is contained in:
Dante Ruiz 2018-02-26 14:51:36 -08:00
parent 5031d94c6d
commit c83a8e9a25

View file

@ -1313,7 +1313,7 @@ QUuid EntityScriptingInterface::addAction(const QString& actionTypeString,
action->setIsMine(true);
success = entity->addAction(simulation, action);
entity->flagForOwnershipBid(SCRIPT_GRAB_SIMULATION_PRIORITY);
return false; // Physics will cause a packet to be sent, so don't send from here
return false; // Physics will cause a packet to be sent, so don't send from here.
});
if (success) {
return actionID;
@ -1344,7 +1344,7 @@ bool EntityScriptingInterface::deleteAction(const QUuid& entityID, const QUuid&
// reduce from grab to poke
entity->flagForOwnershipBid(SCRIPT_POKE_SIMULATION_PRIORITY);
}
return false; // Physics will cause a packet to be sent, so don't send from here
return false; // Physics will cause a packet to be sent, so don't send from here.
});
return success;
}