author | alfadur |
Sat, 21 Jul 2018 02:19:32 +0300 | |
changeset 13530 | 80db7232b4b5 |
parent 13529 | 662f7df89d06 |
child 13531 | 282218ab1b28 |
--- a/gameServer2/src/server/handlers/inroom.rs Sat Jul 21 02:13:55 2018 +0300 +++ b/gameServer2/src/server/handlers/inroom.rs Sat Jul 21 02:19:32 2018 +0300 @@ -372,9 +372,9 @@ }, VoteType::Map(Some(name)) => { if server.rooms[room_id].saves.get(&name[..]).is_some() { - Some("/callvote map: No such map!".to_string()) + None } else { - None + Some("/callvote map: No such map!".to_string()) } }, VoteType::Pause => {