diff --git a/systems/weapon_system/weapon_system.gd b/systems/weapon_system/weapon_system.gd index b712147..ef2832e 100644 --- a/systems/weapon_system/weapon_system.gd +++ b/systems/weapon_system/weapon_system.gd @@ -184,17 +184,25 @@ func _physics_process(delta: float) -> void: current_state.physics_update(delta) func use_begin() -> void: + if Session.round_state == Session.ROUND_STATES.BUY: + return if current_state != null: current_state.use_begin() func use_end() -> void: + if Session.round_state == Session.ROUND_STATES.BUY: + return if current_state != null: current_state.use_end() func alternate_state() -> void: + if Session.round_state == Session.ROUND_STATES.BUY: + return if current_state != null: current_state.alternate_state() func switch_mode() -> void: + if Session.round_state == Session.ROUND_STATES.BUY: + return if current_state != null: current_state.switch_mode()