2
0
Karroffel 8 жил өмнө
parent
commit
b6ca6a2d8e

+ 8 - 0
include/core/Godot.hpp

@@ -78,6 +78,14 @@ struct _ArgCast<T*> {
 	}
 };
 
+template<>
+struct _ArgCast<Variant> {
+	static Variant _arg_cast(Variant a)
+	{
+		return a;
+	}
+};
+