From a508a7e3a453445d99183c7fb3309c6bd76b60b1 Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Mon, 8 Nov 2021 01:42:55 +0100 Subject: [PATCH] Also function --- src/game/scripting/script_value.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/scripting/script_value.hpp b/src/game/scripting/script_value.hpp index 84c3bc7..351c26f 100644 --- a/src/game/scripting/script_value.hpp +++ b/src/game/scripting/script_value.hpp @@ -82,6 +82,11 @@ namespace scripting return "array"; } + if (info == typeid(function)) + { + return "function"; + } + if (info == typeid(vector)) { return "vector";