ソースを参照

Merge pull request #23524 from RySchmitt/fix_false_mono_error

Fix false error when exporting c# enum
Ignacio Etcheverry 6 年 前
コミット
3cf3c4137a
1 ファイル変更2 行追加0 行削除
  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());