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.