aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/Node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/Node.cpp')
-rw-r--r--src/engine/Node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/Node.cpp b/src/engine/Node.cpp
index cf326a1..06317ef 100644
--- a/src/engine/Node.cpp
+++ b/src/engine/Node.cpp
@@ -227,7 +227,7 @@ Node::set(URIInt key, const Raul::Atom& value)
if (key == URIs::instance().machina_initial) {
std::cerr << "error: Attempt to change node initial state" << std::endl;
} else if (key == URIs::instance().machina_selector) {
- set_selector(value.get_bool());
+ set_selector(value.get<int32_t>());
}
}