From db6ebcd6858f672ac1edfa6ad0408ed2eb7875c7 Mon Sep 17 00:00:00 2001 From: flo666 Date: Thu, 3 Aug 2023 23:00:32 +0200 Subject: [PATCH] remove shovel outcome trigger from combomelee state --- common/src/states/combo_melee.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/common/src/states/combo_melee.rs b/common/src/states/combo_melee.rs index 4efd633f1b..f72ff9978e 100644 --- a/common/src/states/combo_melee.rs +++ b/common/src/states/combo_melee.rs @@ -6,8 +6,6 @@ use crate::{ tool::{Stats, ToolKind}, CharacterState, Melee, StateUpdate, }, - event::LocalEvent, - outcome::Outcome, states::{ behavior::{CharacterBehavior, JoinData}, utils::*, @@ -321,12 +319,6 @@ impl CharacterBehavior for Data { ..*self }); } - // Send local event used for frontend shenanigans - if self.static_data.ability_info.tool == Some(ToolKind::Shovel) { - output_events.emit_local(LocalEvent::CreateOutcome(Outcome::GroundDig { - pos: data.pos.0 + *data.ori.look_dir() * (data.body.max_radius()), - })); - } }, StageSection::Recover => { if self.timer < self.static_data.stage_data[stage_index].base_recover_duration {