Battles now end upon player log out

Battles will now end upon a player logging off.