diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-10-20 18:23:53 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-10-20 18:23:53 -0300 |
commit | 10225ad351574621a1f48d346bdd16b3ee74b5f3 (patch) | |
tree | ed5cafce0c1526e49459366b4b81629af079ec4f /npc/functions/guild.txt | |
parent | de69093c71c287d645c0ccebb8e256bb771afa95 (diff) | |
download | serverdata-10225ad351574621a1f48d346bdd16b3ee74b5f3.tar.gz serverdata-10225ad351574621a1f48d346bdd16b3ee74b5f3.tar.bz2 serverdata-10225ad351574621a1f48d346bdd16b3ee74b5f3.tar.xz serverdata-10225ad351574621a1f48d346bdd16b3ee74b5f3.zip |
getguildpostitle was fixed so use it instead (thanks gumi)
Diffstat (limited to 'npc/functions/guild.txt')
-rw-r--r-- | npc/functions/guild.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/guild.txt b/npc/functions/guild.txt index 6b9d95299..92a0a3802 100644 --- a/npc/functions/guild.txt +++ b/npc/functions/guild.txt @@ -23,6 +23,10 @@ function script getguildrole { if (!.@type) return .@pos; + // Wait, we now have a command for this + return getguildpostitle(.@gid, .@pos); + + // Legacy behavior switch (.@pos) { case GPOS_GUILDMASTER: return "Guild Master"; |