summaryrefslogtreecommitdiff
path: root/world/map/npc/commands
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-07-05 12:02:11 -0400
committerGitHub <noreply@github.com>2016-07-05 12:02:11 -0400
commitd342f42fdb8f656139530a4a46a7b7445b2bc1e6 (patch)
tree4082734f0711fa35f12a792510be3b10a747ae41 /world/map/npc/commands
parentb5c8c20ab8f99c21125deaedd2387186de14a72c (diff)
parent7be7e78af91e52ec86a683e8eeadf3c9799656cc (diff)
downloadserverdata-d342f42fdb8f656139530a4a46a7b7445b2bc1e6.tar.gz
serverdata-d342f42fdb8f656139530a4a46a7b7445b2bc1e6.tar.bz2
serverdata-d342f42fdb8f656139530a4a46a7b7445b2bc1e6.tar.xz
serverdata-d342f42fdb8f656139530a4a46a7b7445b2bc1e6.zip
Merge pull request #512 from rumly111/fix-hug-tree
call QuestTreeTrigger when player *hugs tree*
Diffstat (limited to 'world/map/npc/commands')
-rw-r--r--world/map/npc/commands/hug.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/commands/hug.txt b/world/map/npc/commands/hug.txt
index 323e0563..f97c81e4 100644
--- a/world/map/npc/commands/hug.txt
+++ b/world/map/npc/commands/hug.txt
@@ -13,7 +13,8 @@
if (@target_id != BL_ID) misceffect FX_HUG, @target_id;
if (@target_id != .tree_id) end;
- callfunc "QuestTreeTouch";
+ set @flag, 2;
+ callfunc "QuestTreeTrigger";
close;
OnInit: