Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 10 files). Show all
Unified · Split
| @@ -574,7 +574,7 @@ QUuid EntityScriptingInterface::addAction(const QString& actionTypeString, · 573 unmodified lines | |||
| 574 | if (actionType == ACTION_TYPE_NONE) { | 574 | if (actionType == ACTION_TYPE_NONE) { |
| 575 | return false; | 575 | return false; |
| 576 | } | 576 | } |
| 577 | EntityActionPointer action = actionFactory->factory(simulation, actionType, actionID, entity, arguments); | 577 | EntityActionPointer action = actionFactory->factory(actionType, actionID, entity, arguments); |
| 578 | if (action) { | 578 | if (action) { |
| 579 | entity->addAction(simulation, action); | 579 | entity->addAction(simulation, action); |
| 580 | auto nodeList = DependencyManager::get<NodeList>(); | 580 | auto nodeList = DependencyManager::get<NodeList>(); |