Skip to content

Commit

Permalink
Do not use PyObject_CallNoArgs as is not in python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
atupone committed Dec 14, 2023
1 parent 329e8d4 commit 697e1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bzfs/bzfsPython.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ void bzPythonEvent(bz_EventData *eventData)
switch (eventData->eventType)
{
case bz_eTickEvent:
pEvent = PyObject_CallNoArgs(tickEventData_V1);
pEvent = PyObject_CallFunctionObjArgs(tickEventData_V1, NULL);
break;
case bz_eGetPlayerSpawnPosEvent:
pEvent = genEvent (
Expand Down

0 comments on commit 697e1a1

Please sign in to comment.