From 366c7e0f48056ec93b61880c9394c75919497890 Mon Sep 17 00:00:00 2001 From: Ryan Schmitt Date: Mon, 5 Nov 2018 01:22:15 -0800 Subject: [PATCH] Fix false error when exporting enum in c# --- modules/mono/mono_gd/gd_mono_field.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/mono/mono_gd/gd_mono_field.cpp b/modules/mono/mono_gd/gd_mono_field.cpp index fe41722af00..5d9b9213e73 100644 --- a/modules/mono/mono_gd/gd_mono_field.cpp +++ b/modules/mono/mono_gd/gd_mono_field.cpp @@ -223,6 +223,8 @@ void GDMonoField::set_value_from_variant(MonoObject *p_object, const Variant &p_ ERR_FAIL(); } } + + break; } ERR_EXPLAIN(String() + "Attempted to set the value of a field of unmarshallable type: " + tclass->get_name());