ReflectionsProjections / mm19

Mechmania 19
0 stars 1 forks source link

Server (API Component) Expects Hardcoded # of Ships #77

Open jtfairbank opened 11 years ago

jtfairbank commented 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).