Updated startBattle function to agree with last version of rooms.js