← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/bug-1811583-desync-with-territorial into lp:widelands

 

Fourth option would be to check for multiplayer. 

Here is some pseudo-code


function wait_for_roadbuilding()
  if not multiplayer then
   _await_animation()
   while (wl.ui.MapView().is_building_road) do sleep(2000) end
  end
end

Is there a function to check for multiplayer?
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1811583-desync-with-territorial/+merge/362272
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1811583-desync-with-territorial.


References