Removed player from vector and made it global