Open Joakker opened 7 months ago
Hi, what is the exact error message?
Concurrent read/write world access
I think it may be that the macro blocks access to the world earlier in that generated function, this may be avoidable in raw functions as they do not necessarily need access to the world
That's precisely the problem. In my game there is a Controller
component, which represents what faction a piece belongs to. I put a give_money()
proxy method, so I need to reference and mutate the object that represents that faction
As the title says, when altering the world from the world pointer you can get from the context argument in the raw method, it yields a panic
I tried with the blocking and non blocking methods but to no avail