This commit is contained in:
blueloveTH 2025-02-13 16:28:10 +08:00
parent 78caf8290c
commit 813fd3f96c

View File

@ -1038,6 +1038,7 @@ static bool chunked_array2d__remove_chunk(int argc, py_Ref argv) {
c11_chunked_array2d* self = py_touserdata(argv);
c11_vec2i pos = py_tovec2i(&argv[1]);
bool ok = c11_chunked_array2d_chunks__del(&self->chunks, pos);
self->last_visited.value = NULL;
py_newbool(py_retval(), ok);
return true;
}