From b29966ccf73a9ac05709a71ee1dc2cd67541ad69 Mon Sep 17 00:00:00 2001 From: Sara Date: Mon, 11 Aug 2025 17:59:12 +0200 Subject: [PATCH] fix: revolver alt fire becomes inactive on switch --- modules/wave_survival/weapons/revolver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/wave_survival/weapons/revolver.cpp b/modules/wave_survival/weapons/revolver.cpp index aafb063b..379d70aa 100644 --- a/modules/wave_survival/weapons/revolver.cpp +++ b/modules/wave_survival/weapons/revolver.cpp @@ -190,6 +190,7 @@ void Revolver::notify_selected() { } void Revolver::notify_deselected() { + this->alt_active = false; get_input()->disconnect(PlayerInput::sig_primary_fire, callable_mp(this, &self_type::on_primary_fire)); get_input()->disconnect(PlayerInput::sig_alt_mode, callable_mp(this, &self_type::on_alt_mode)); get_input()->disconnect(PlayerInput::sig_reload, callable_mp(this, &self_type::on_reload));