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.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to