Browse Source

Fix false error when exporting enum in c#

Ryan Schmitt 6 years ago
parent
commit
366c7e0f48
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules/mono/mono_gd/gd_mono_field.cpp

+ 2 - 0
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());