diff --git a/include/chaiscript/language/chaiscript_eval.hpp b/include/chaiscript/language/chaiscript_eval.hpp index 109b138..17a3be1 100644 --- a/include/chaiscript/language/chaiscript_eval.hpp +++ b/include/chaiscript/language/chaiscript_eval.hpp @@ -69,7 +69,7 @@ namespace chaiscript else if (node->text == "false") { //return const_var(false); if (!node->is_cached) { - cache_const(ss, node, const_var(true)); + cache_const(ss, node, const_var(false)); } return node->cached_value; }