summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 4045e8951..5f5b61370 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7319,6 +7319,7 @@ atcommand_skilltree(const int fd, struct map_session_data* sd,
return -1;
c = pc_calc_skilltree_normalize_job(pl_sd);
+ c = pc_mapid2jobid(c, pl_sd->status.sex);
tbl = job_name(c);