Skip to content

Commit 13bab11

Browse files
author
Roberto De Ioris
committed
fixed typo
1 parent 6b508d5 commit 13bab11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/UnrealEnginePython/Private/UObject/UEPyActor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ PyObject *py_ue_add_actor_component(ue_PyUObject * self, PyObject * args) {
339339
UClass *u_class = (UClass *)py_obj->ue_object;
340340

341341
if (!u_class->IsChildOf<UActorComponent>()) {
342-
return PyErr_Format(PyExc_Exception, "argument is not a UClass derived from AActor");
342+
return PyErr_Format(PyExc_Exception, "argument is not a UClass derived from UActorComponent");
343343
}
344344

345345
USceneComponent *parent_component = nullptr;

0 commit comments

Comments
 (0)