Change follow request to "F" button, use nes-css buttons
This commit is contained in:
parent
5c385c520a
commit
2cd088c049
3 changed files with 15 additions and 20 deletions
|
@ -114,7 +114,7 @@ export class Player extends Character {
|
|||
const state = get(followStateStore);
|
||||
const role = get(followRoleStore);
|
||||
|
||||
if (activeEvents.get(UserInputEvent.Interact)) {
|
||||
if (activeEvents.get(UserInputEvent.Follow)) {
|
||||
if (state === followStates.off && this.scene.groups.size > 0) {
|
||||
followStateStore.set(followStates.requesting);
|
||||
followRoleStore.set(followRoles.leader);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue