mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
fix a bug
This commit is contained in:
parent
ddba3678d1
commit
719cc79792
@ -108,7 +108,7 @@ void PyBody::_register(VM* vm, PyObject* mod, PyObject* type){
|
||||
|
||||
// get_node
|
||||
vm->bind(type, "get_node(self)", [](VM* vm, ArgsView args){
|
||||
PyBody& body = CAST(PyBody&, args[1]);
|
||||
PyBody& body = CAST(PyBody&, args[0]);
|
||||
return body.node_like;
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user