Skip to content

Commit

Permalink
fix: don't update area for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pikdum committed Sep 15, 2024
1 parent 4cd9c51 commit cff70de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/game/movement.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cff70de

Please sign in to comment.