工会屏蔽修改工会宣言入口
parent
49d7c26a39
commit
6d82c9d02d
|
|
@ -167,12 +167,12 @@ function GuildInfoPopup:BindEvent()
|
|||
UIManager.OpenPanel(UIName.GuildChangePopup, GUILD_CHANGE_TYPE.NAME)
|
||||
end)
|
||||
Util.AddClick(this.btnEditAnnounce, function()
|
||||
local pos = MyGuildManager.GetMyPositionInGuild()
|
||||
if pos ~= GUILD_GRANT.MASTER and pos ~= GUILD_GRANT.ADMIN then
|
||||
PopupTipPanel.ShowTip(Language[10898])
|
||||
return
|
||||
end
|
||||
UIManager.OpenPanel(UIName.GuildChangePopup, GUILD_CHANGE_TYPE.ANNOUNCE)
|
||||
-- local pos = MyGuildManager.GetMyPositionInGuild()
|
||||
-- if pos ~= GUILD_GRANT.MASTER and pos ~= GUILD_GRANT.ADMIN then
|
||||
-- PopupTipPanel.ShowTip(Language[10898])
|
||||
-- return
|
||||
-- end
|
||||
-- UIManager.OpenPanel(UIName.GuildChangePopup, GUILD_CHANGE_TYPE.ANNOUNCE)
|
||||
end)
|
||||
Util.AddClick(this.btnInvite, function()
|
||||
local pos = MyGuildManager.GetMyPositionInGuild()
|
||||
|
|
|
|||
Loading…
Reference in New Issue