Showing the changes to interface/src/InterfaceActionFactory.cpp (1 of 2 files). Show all
Unified · Split
| @@ -65,9 +65,9 @@ EntityActionPointer InterfaceActionFactory::factoryBA(EntityItemPointer ownerEnt · 64 unmodified lines | |||
| 65 | 65 | ||
| 66 | if (action) { | 66 | if (action) { |
| 67 | action->deserialize(data); | 67 | action->deserialize(data); |
| 68 | } | 68 | if (action->lifetimeIsOver()) { |
| 69 | if (action->lifetimeIsOver()) { | 69 | return nullptr; |
| 70 | return nullptr; | 70 | } |
| 71 | } | 71 | } |
| 72 | 72 | ||
| 73 | return action; | 73 | return action; |