From 434dd96cd6de4aa5cd8f77f0174a94294306d444 Mon Sep 17 00:00:00 2001 From: Shane Handley Date: Wed, 11 Mar 2020 15:39:46 +0900 Subject: [PATCH] Check for the mousedown state before trying to collect an item via secondary mouse click. --- voxygen/src/session.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voxygen/src/session.rs b/voxygen/src/session.rs index 1d02998ccd..52421d3975 100644 --- a/voxygen/src/session.rs +++ b/voxygen/src/session.rs @@ -278,7 +278,7 @@ impl PlayState for SessionState { .unwrap_or(false) { self.inputs.secondary.set_state(state); - } else { + } else if state { if let Some(select_pos) = select_pos { client.collect_block(select_pos); }