From e9b6ad83cea76bf28cc7363e6d5aa377bad983b3 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Mon, 18 Apr 2022 09:14:37 +0200 Subject: [PATCH] Do not use PyObject_CallNoArgs as is not in python 3.8 --- src/bzfs/bzfsPython.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bzfs/bzfsPython.cxx b/src/bzfs/bzfsPython.cxx index e7ded9ec29..1e4bd6570b 100644 --- a/src/bzfs/bzfsPython.cxx +++ b/src/bzfs/bzfsPython.cxx @@ -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 (