summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 9e4880e..e15ee4d 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -3628,7 +3628,7 @@ int buildin_getexp(struct script_state *st)
if(base<0 || job<0)
return 0;
if(sd)
- pc_gainexp(sd,base,job);
+ pc_gainexp_reason(sd,base,job, PC_GAINEXP_REASON_SCRIPT);
return 0;
}