From afdb517a87836995de7a94921cb2bfb2f9a2d56a Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 28 Jan 2012 17:33:37 +0100 Subject: Make command line choose character only work once Previously it was interfering with the 'switch character' functionality. Reviewed-by: Erik Schilling --- src/client.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index a4dd35eb..1fa36d48 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -827,6 +827,10 @@ int Client::exec() CharSelectDialog::Focus); } + // Choosing character on the command line should work only + // once, clear it so that 'switch character' works. + mOptions.character.clear(); + break; case STATE_CONNECT_GAME: -- cgit v1.2.3-70-g09d2