> Do you really want to reimplement all that is available in C to lua? 

No, only what makes sense. Asking a flag if it knows about a warehouse 
somewhere in its road network makes no sense to me. Option 1) is clearer, but 
it is also more work. 

I would suggest removing get_warehouse from this branch and start a new one 
with this change.
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1380286/+merge/242975
Your team Widelands Developers is subscribed to branch 
lp:~widelands-dev/widelands/bug-1380286.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to