Skip to content

Commit 46be7ab

Browse files
identation
1 parent 78c43d4 commit 46be7ab

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

Questing/Goal/ConversationGoal.cs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
using UnityEngine;
44

55
namespace RPG.Questing {
6-
public class ConversationGoal : Goal {
7-
public string Target;
6+
public class ConversationGoal : Goal {
7+
public string Target;
88

9-
public ConversationGoal(Stage stage, string target, string description) {
10-
Stage = stage;
11-
Target = target;
12-
Description = description;
13-
}
9+
public ConversationGoal(Stage stage, string target, string description) {
10+
Stage = stage;
11+
Target = target;
12+
Description = description;
13+
}
1414

15-
public override void Init() {
16-
base.Init();
17-
EventSystem.OnTalkedToNPC += TalkedToNPC;
18-
}
15+
public override void Init() {
16+
base.Init();
17+
EventSystem.OnTalkedToNPC += TalkedToNPC;
18+
}
1919

20-
private void TalkedToNPC(DialogueInitiator npc) {
21-
if (Stage.Active && npc.name.Contains(Target)) {
22-
Complete();
23-
EventSystem.OnTalkedToNPC -= TalkedToNPC;
24-
}
20+
private void TalkedToNPC(DialogueInitiator npc) {
21+
if (Stage.Active && npc.name.Contains(Target)) {
22+
Complete();
23+
EventSystem.OnTalkedToNPC -= TalkedToNPC;
24+
}
25+
}
2526
}
26-
}
2727
}

0 commit comments

Comments
 (0)