From 6d031c90131f5e878c52383aaa5971eb2729c33c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 Apr 2020 06:25:51 -0300 Subject: Fix Guild Logs bug --- npc/guilds/logs.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/npc/guilds/logs.txt b/npc/guilds/logs.txt index 2af2e2078..142b7d6c9 100644 --- a/npc/guilds/logs.txt +++ b/npc/guilds/logs.txt @@ -86,15 +86,14 @@ guilds,47,39,0 script Guild Logs NPC_NO_SPRITE,{ if (.@s == 0) mesc l("Your guild doesn't knows any recipes!"), 1; - if (getguildrole(.@gid, getcharid(3)) > GPOS_VICELEADER) - close; + .@role=getguildrole(.@gid, getcharid(3)); do { select l("Do nothing"), rif(strcharinfo(0) == getguildmaster(.@gid), l("Raise max members")), rif(.@role <= GPOS_MEMBER, l("Learn individual guild skills")), - l("Learn Alchemy Recipes"); + rif(.@role <= GPOS_VICELEADER, l("Learn Alchemy Recipes")); mes ""; switch (@menu) { -- cgit v1.2.3-60-g2f50