aboutsummaryrefslogtreecommitdiff
path: root/server/src/entity/item_portal.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/entity/item_portal.rs')
-rw-r--r--server/src/entity/item_portal.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/entity/item_portal.rs b/server/src/entity/item_portal.rs
index be6acd06..faaa210b 100644
--- a/server/src/entity/item_portal.rs
+++ b/server/src/entity/item_portal.rs
@@ -15,7 +15,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-use super::{EntityContext, EntityT};
+use super::{EntityContext, Entity};
use crate::server::interact_effect;
use anyhow::{anyhow, Result};
use hurrycurry_protocol::{glam::IVec2, ItemLocation};
@@ -26,7 +26,7 @@ pub struct ItemPortal {
pub(super) to: IVec2,
}
-impl EntityT for ItemPortal {
+impl Entity for ItemPortal {
fn tick(&mut self, c: EntityContext) -> Result<()> {
let [from, to] = c
.game