From 55d093ba16e6ed01577a44347686b0535662f059 Mon Sep 17 00:00:00 2001 From: Chris Beck Date: Thu, 11 Sep 2014 07:56:26 -0400 Subject: [PATCH] allow chat_log to be opened even when not in networked games This was requested by players, so that they can review chat logs offline more easily. --- src/play_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/play_controller.cpp b/src/play_controller.cpp index 795b0eb48b5..e948825cf26 100644 --- a/src/play_controller.cpp +++ b/src/play_controller.cpp @@ -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_;