Merge pull request #283 from cbeck88/chatlog

allow chat_log to be opened even when not in networked games
This commit is contained in:
Chris Beck 2014-09-21 17:21:47 -04:00
commit 1b5a22965f

View File

@ -815,7 +815,7 @@ bool play_controller::can_execute_command(const hotkey::hotkey_command& cmd, int
return network::nconnections() == 0; // Can only load games if not in a network game
case hotkey::HOTKEY_CHAT_LOG:
return network::nconnections() > 0;
return true;
case hotkey::HOTKEY_REDO:
return !linger_ && undo_stack_->can_redo() && !events::commands_disabled && !browse_;