diff options
Diffstat (limited to 'src/engine/events/CreateNode.cpp')
-rw-r--r-- | src/engine/events/CreateNode.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/events/CreateNode.cpp b/src/engine/events/CreateNode.cpp index 37adda6b..bd1412a2 100644 --- a/src/engine/events/CreateNode.cpp +++ b/src/engine/events/CreateNode.cpp @@ -113,6 +113,10 @@ CreateNode::pre_process() _compiled_patch = _patch->compile(); } } + + if (!_node) + _error = 1; + QueuedEvent::pre_process(); } |