From cff70de5bfb217de3f83b506ac8a0a0399dfec5b Mon Sep 17 00:00:00 2001 From: pikdum Date: Sun, 15 Sep 2024 07:49:37 -0500 Subject: [PATCH] fix: don't update area for now https://github.com/namreeb/namigator/issues/78 --- lib/game/movement.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/game/movement.ex b/lib/game/movement.ex index cc76d41..2409dcd 100644 --- a/lib/game/movement.ex +++ b/lib/game/movement.ex @@ -92,7 +92,7 @@ defmodule ThistleTea.Game.Movement do if x0 != x1 or y0 != y1 or z0 != z1 do SpatialHash.update(:players, state.guid, self(), map, x1, y1, z1) - Map.put(state, :character, character |> update_area) + Map.put(state, :character, character) |> ThistleTea.Game.Spell.cancel_spell(@spell_failed_moving) else Map.put(state, :character, character)