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 Oct 18, 2024
1 parent 1730b8f commit e466fd4
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 e466fd4

Please sign in to comment.