mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 10:36:30 +00:00
Merge pull request #283 from cbeck88/chatlog
allow chat_log to be opened even when not in networked games
This commit is contained in:
commit
1b5a22965f
@ -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_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user