summaryrefslogtreecommitdiff
path: root/npc/events/nguild/nguild_ev_agit.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/events/nguild/nguild_ev_agit.txt')
-rw-r--r--npc/events/nguild/nguild_ev_agit.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/events/nguild/nguild_ev_agit.txt b/npc/events/nguild/nguild_ev_agit.txt
index cbf6aec3c..99545bfff 100644
--- a/npc/events/nguild/nguild_ev_agit.txt
+++ b/npc/events/nguild/nguild_ev_agit.txt
@@ -67,7 +67,7 @@ function script F_AgitBreak {
.@map$ = getarg(0);
.@castle$ = getarg(1);
- .@GID = getcharid(2);
+ .@GID = getcharid(CHAR_ID_GUILD);
if (.@GID <= 0) return;
.@Economy = getcastledata(.@map$,2) - 5;