Skip to content

Commit

Permalink
fix event name (#21)
Browse files Browse the repository at this point in the history
This changes the event name to the correct one.

Co-authored-by: Dorian Iacobescu <dorian.iacobescu@gmail.com>
  • Loading branch information
hl and iacobson authored Dec 22, 2023
1 parent 538a4b9 commit 2f78651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ defmodule Demo.Systems.MaybeFindResources do
alias Demo.Components

@impl true
def run(%Ecspanse.Event.HeroMoved{}, _frame) do
def run(%Demo.Events.HeroMoved{}, _frame) do
with true <- found_resource?(),
resource_module <- pick_resource(),
{:ok, hero_entity} <- Demo.Entities.Hero.fetch(),
Expand Down

0 comments on commit 2f78651

Please sign in to comment.