ParletteSoftware / chodewars

Space exploration remake of tradewars
1 stars 0 forks source link

Add verifications in AddHandler #15

Open matthew-parlette opened 11 years ago

matthew-parlette commented 11 years ago

Right now a player could create another planet or ship by sending a request to /add/home or /add/ship. There should be checks in AddHandler to verify that the player doesn't have one of these before it is created.

Later on, when the player builds a new ship, this will need to be changed drastically, so for release 1, we should only allow a player to create something when he doesn't already have one.