diff --git a/src/game/boe.actions.cpp b/src/game/boe.actions.cpp index fba057f0..24bf7adc 100644 --- a/src/game/boe.actions.cpp +++ b/src/game/boe.actions.cpp @@ -2133,9 +2133,8 @@ bool handle_keystroke(const sf::Event& event, cFramerateLimiter& fps_limiter){ break; case 'I': - if(univ.debug_mode) { - debug_give_item(); - } + if(!univ.debug_mode) break; + debug_give_item(); break; case 'Q':