summaryrefslogtreecommitdiff
path: root/npc/events/nguild/nguild_dunsw.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/events/nguild/nguild_dunsw.txt')
-rw-r--r--npc/events/nguild/nguild_dunsw.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/events/nguild/nguild_dunsw.txt b/npc/events/nguild/nguild_dunsw.txt
index 23cd8ec8c..291b08db3 100644
--- a/npc/events/nguild/nguild_dunsw.txt
+++ b/npc/events/nguild/nguild_dunsw.txt
@@ -49,7 +49,7 @@ function script F_GldDunSw {
next;
if (select("Pull.", "Do not.") == 1) {
- if (getcharid(2) == .@GID) {
+ if (getcharid(CHAR_ID_GUILD) == .@GID) {
warp "gld_dun"+getarg(1),getarg(2),getarg(3);
end;
}