I think these tests should be done for all players - what you describe can 
happen for a human player too if he presses the same button twice while the 
command is still distributed to other players in the game. Can easily happen in 
slow network games. Your code saveguards against that and should not disturb in 
any other way.

You can doublecheck by running the regression_test.py - it exercises the UI for 
ships too.
-- 
https://code.launchpad.net/~widelands-dev/widelands/seafaring-ai/+merge/242271
Your team Widelands Developers is subscribed to branch 
lp:~widelands-dev/widelands/seafaring-ai.

_______________________________________________
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