Skip to content

Commit 62016f5

Browse files
committed
fix for 4.22
1 parent 79aef1e commit 62016f5

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
@@ -316,7 +316,7 @@ PyObject *py_ue_set_current_level(ue_PyUObject *self, PyObject * args)
316316
if (!level)
317317
return PyErr_Format(PyExc_Exception, "argument is not a ULevel");
318318

319-
#if WITH_EDITOR
319+
#if WITH_EDITOR || ENGINE_MINOR_VERSION < 22
320320

321321
if (world->SetCurrentLevel(level))
322322
Py_RETURN_TRUE;

0 commit comments

Comments
 (0)