← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/bug-1380286 into lp:widelands

 

My best guess is that #field.roads doesn't work because you have an associative array rather than an indexed one in your table.

Is there a particular reason you need to count roads in your test? You could test for the 6 directions individually if they're there or not.
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1380286/+merge/242975
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1380286 into lp:widelands.


References