summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r--npc/functions/util.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 33d071ded..56a790f6d 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -881,7 +881,7 @@ function script mercrank {
}
}
function script academicrank {
- switch (ACADEMIC_RANK) {
+ switch (getarg(0, ACADEMIC_RANK)) {
case 7: return l("Sage");
case 6: return l("Ph.D");
case 5: return l("Doctor");