Bug fix for api
Merge branch 'master' of https://github.com/davidreid/battlehack