Few more fixes

Fixed random vote telling you can't switch teams when a round ends and
it's still enabled. Also fixed an error in the hook system.
Merge pull request #27 from Person8880/develop

Few more fixes