rsredsq преди 10 години
родител
ревизия
81a12f5b97
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      Source/ToolCore/JSBind/JSBTypeScript.cpp

+ 0 - 3
Source/ToolCore/JSBind/JSBTypeScript.cpp

@@ -34,9 +34,6 @@ String JSBTypeScript::GetScriptType(JSBFunctionType* ftype)
     if (ftype->type_->asEnumType())
         scriptType = ftype->type_->asEnumType()->enum_->GetName();
 
-    if (ftype->type_->asEnumType())
-        scriptType = ftype->type_->asEnumType()->enum_->GetName();
-
     if (ftype->type_->asClassType())
     {
         JSBClass* klass = ftype->type_->asClassType()->class_;