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 6ef06c2a2..640fa6bdb 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -7422,7 +7422,7 @@ BUILDIN_FUNC(getexp)
base = (int) cap_value(base * bonus, 0, INT_MAX);
job = (int) cap_value(job * bonus, 0, INT_MAX);
- pc_gainexp(sd, NULL, base, job);
+ pc_gainexp(sd, NULL, base, job, true);
return 0;
}