Skip to content

Commit

Permalink
allow chat_log to be opened even when not in networked games
Browse files Browse the repository at this point in the history
This was requested by players, so that they can review chat logs
offline more easily.
  • Loading branch information
cbeck88 committed Sep 11, 2014
1 parent 7abb38a commit a7a4c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/play_controller.cpp
Expand Up @@ -935,7 +935,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 a7a4c1a

Please sign in to comment.