summaryrefslogtreecommitdiff
path: root/src/core/script/Function.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/script/Function.hpp')
-rw-r--r--src/core/script/Function.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/script/Function.hpp b/src/core/script/Function.hpp
index 2e92f08..43afd3d 100644
--- a/src/core/script/Function.hpp
+++ b/src/core/script/Function.hpp
@@ -307,7 +307,7 @@ protected:
throw "Setter not defined";
}
callback(args[0], data);
- return VarNull;
+ return Variant::Null;
}
public: