Skip to content

Commit

Permalink
Merge pull request #283 from cbeck88/chatlog
Browse files Browse the repository at this point in the history
allow chat_log to be opened even when not in networked games
  • Loading branch information
cbeck88 committed Sep 21, 2014
2 parents 9efa831 + 55d093b commit 1b5a229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/play_controller.cpp
Expand Up @@ -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_;
Expand Down

0 comments on commit 1b5a229

Please sign in to comment.