fix a bug of vec2.__truediv__

This commit is contained in:
blueloveTH 2024-09-08 20:46:19 +08:00
parent 972f86f781
commit 389adc64d2

View File

@ -149,6 +149,7 @@ static bool vec2__truediv__(int argc, py_Ref argv) {
PY_CHECK_ARGC(2);
float divisor;
if(!py_castfloat32(&argv[1], &divisor)) {
py_clearexc(NULL);
py_newnotimplemented(py_retval());
return true;
}