summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRyan Schmitt <ryanschmittdev@gmail.com>2018-11-05 01:22:15 -0800
committerRyan Schmitt <ryanschmittdev@gmail.com>2018-11-05 01:22:15 -0800
commit366c7e0f48056ec93b61880c9394c75919497890 (patch)
treee273506217a69484a5f733483d33bf716dc91a91 /modules
parent5d5227104e98f7fb248986d847165e6f8515372a (diff)
Fix false error when exporting enum in c#
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/mono_gd/gd_mono_field.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mono/mono_gd/gd_mono_field.cpp b/modules/mono/mono_gd/gd_mono_field.cpp
index fe41722af0..5d9b9213e7 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());