mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-01 05:48:37 +03:00
Fix _arg_cast
This has been an issue from the day one, A lot of people mentioned this on discord too
This commit is contained in:
@@ -60,7 +60,7 @@ template<class T>
|
||||
struct _ArgCast {
|
||||
static T _arg_cast(Variant a)
|
||||
{
|
||||
return static_cast<T>(a);
|
||||
return a;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user