Browse Source

Merge pull request #23524 from RySchmitt/fix_false_mono_error

Fix false error when exporting c# enum
Ignacio Etcheverry 6 years ago
parent
commit
3cf3c4137a
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();
 						ERR_FAIL();
 					}
 					}
 				}
 				}
+
+				break;
 			}
 			}
 
 
 			ERR_EXPLAIN(String() + "Attempted to set the value of a field of unmarshallable type: " + tclass->get_name());
 			ERR_EXPLAIN(String() + "Attempted to set the value of a field of unmarshallable type: " + tclass->get_name());