Make sure name returned by bot correspond to its type
This commit is contained in:
		| @@ -23,7 +23,12 @@ impl BotPlayer { | |||||||
|  |  | ||||||
| impl Player for BotPlayer { | impl Player for BotPlayer { | ||||||
|     fn get_name(&self) -> &str { |     fn get_name(&self) -> &str { | ||||||
|         "Intermediate Bot" |         match self.kind { | ||||||
|  |             BotType::Random => "Random bot", | ||||||
|  |             BotType::Linear => "Linear bot", | ||||||
|  |             BotType::Intermediate => "Intermediate bot", | ||||||
|  |             BotType::Smart => "Smart bot", | ||||||
|  |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     fn get_uid(&self) -> Uuid { |     fn get_uid(&self) -> Uuid { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user