From 10225ad351574621a1f48d346bdd16b3ee74b5f3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 20 Oct 2019 18:23:53 -0300 Subject: getguildpostitle was fixed so use it instead (thanks gumi) --- npc/functions/guild.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'npc/functions/guild.txt') 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"; -- cgit v1.2.3-60-g2f50