widelands-dev team mailing list archive
Mailing list archive
Re: [Merge] lp:~widelands-dev/widelands/bug-1810062-territorial-calculations into lp:widelands
>From my understanding we can't put this in a coroutine, because:
blocks the lua script, as long as it is calculating, and these
calculations eat up all available cpu.
fields = wl.Game().map.valuable_fields
it runs in a coroutine, but the game stalls until the calculations are
It isn't a real coroutine either, because we need to call
from within the coroutine to pause it. But we can't since the c++ part
blocks the script.
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1810062-territorial-calculations.