Skip to content

Commit df714f6

Browse files
author
Roberto De Ioris
committed
fixed 4.15 build
1 parent 45c1f99 commit df714f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/UnrealEnginePython/Private/UObject/UEPyWorld.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ PyObject *py_ue_get_game_viewport(ue_PyUObject *self, PyObject * args)
192192
if (!viewport_client)
193193
return PyErr_Format(PyExc_Exception, "world has no GameViewportClient");
194194

195-
Py_RETURN_UOBJECT(viewport_client);
195+
Py_RETURN_UOBJECT((UObject *)viewport_client);
196196
}
197197

198198

0 commit comments

Comments
 (0)