From 62d918e5feeaf5b3add982a5baaffb201a1f2ece Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 19 Oct 2025 00:38:09 +0200 Subject: Implement interaction with other players through id instead of tile pos --- server/src/entity/tutorial.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'server/src/entity/tutorial.rs') diff --git a/server/src/entity/tutorial.rs b/server/src/entity/tutorial.rs index 69086165..8cc896ac 100644 --- a/server/src/entity/tutorial.rs +++ b/server/src/entity/tutorial.rs @@ -17,7 +17,7 @@ */ use super::{Entity, EntityContext}; use anyhow::Result; -use hurrycurry_locale::{TrError, trm}; +use hurrycurry_locale::trm; use hurrycurry_protocol::{ ItemIndex, Message, PacketC, PlayerID, Recipe, RecipeIndex, TileIndex, glam::IVec2, }; @@ -121,14 +121,6 @@ impl Entity for Tutorial { Ok(()) } - fn interact( - &mut self, - _c: EntityContext<'_>, - _pos: Option, - _player: PlayerID, - ) -> Result { - Ok(false) - } } struct StepContext<'a> { -- cgit v1.3