diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index b1f5415d4..7001ac7b3 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -6749,7 +6749,7 @@ void CEditor::RenderEnvelopeEditor(CUIRect View) static float s_MidpointY = 0.0f; static std::vector s_vInitialPositionsX; static std::vector s_vInitialPositionsY; - if(s_Operation == OP_NONE && Input()->KeyIsPressed(KEY_S) && !m_vSelectedEnvelopePoints.empty()) + if(s_Operation == OP_NONE && Input()->KeyIsPressed(KEY_S) && !Input()->ModifierIsPressed() && !m_vSelectedEnvelopePoints.empty()) { s_Operation = OP_SCALE; s_ScaleFactorX = 1.0f;