Fix match teams not being changed
This commit is contained in:
		@@ -660,7 +660,7 @@ class match:
 | 
				
			|||||||
		:return:
 | 
							:return:
 | 
				
			||||||
		"""
 | 
							"""
 | 
				
			||||||
		# Make sure this match's mode has teams
 | 
							# Make sure this match's mode has teams
 | 
				
			||||||
		if self.matchTeamType != matchTeamTypes.TEAM_VS or self.matchTeamType != matchTeamTypes.TAG_TEAM_VS:
 | 
							if self.matchTeamType != matchTeamTypes.TEAM_VS and self.matchTeamType != matchTeamTypes.TAG_TEAM_VS:
 | 
				
			||||||
			return
 | 
								return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		# Make sure the match is not locked
 | 
							# Make sure the match is not locked
 | 
				
			||||||
@@ -700,7 +700,7 @@ class match:
 | 
				
			|||||||
		:return: True if valid, False if invalid
 | 
							:return: True if valid, False if invalid
 | 
				
			||||||
		:return:
 | 
							:return:
 | 
				
			||||||
		"""
 | 
							"""
 | 
				
			||||||
		if self.matchTeamType != matchTeamTypes.TEAM_VS or self.matchTeamType != matchTeamTypes.TAG_TEAM_VS:
 | 
							if self.matchTeamType != matchTeamTypes.TEAM_VS and self.matchTeamType != matchTeamTypes.TAG_TEAM_VS:
 | 
				
			||||||
			# Teams are always valid if we have no teams
 | 
								# Teams are always valid if we have no teams
 | 
				
			||||||
			return True
 | 
								return True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user