Open jtfairbank opened 11 years ago
When I tested a client with < 5 ships, the server crashed because it expected exactly 5 ships.
It'd be easy to check the incoming API data (ie array size, etc) and handle the error gracefully (with an error message or something).
When I tested a client with < 5 ships, the server crashed because it expected exactly 5 ships.
It'd be easy to check the incoming API data (ie array size, etc) and handle the error gracefully (with an error message or something).