Skip to content

Commit

Permalink
More NPC interaction tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteMasterEric committed Nov 30, 2024
1 parent 519f8ec commit 03ee5f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/entities/NPC.hx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class NPC extends Interactable
sprite_anim.anim(PresentAnimation.IDLE);
case NEARBY:
sprite_anim.anim(PresentAnimation.NEARBY);
if (Ctrl.interact[1])
if (Ctrl.jinteract[1])
start_chat();
case CHATTING:
sprite_anim.anim(PresentAnimation.IDLE);
Expand Down
2 changes: 1 addition & 1 deletion source/ui/DialogueBox.hx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class DialogueBox extends FlxGroupExt
case IDLE:
if (line_finished)
{
if (Ctrl.interact[1])
if (Ctrl.jinteract[1])
sstate(SWIPE_OUT);
}
}
Expand Down

0 comments on commit 03ee5f3

Please sign in to comment.