Skip to content

Commit

Permalink
Trigger guild fallback on empty custom names (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
Meorawr committed May 21, 2023
1 parent 9e7f951 commit d9f5e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion totalRP3/Modules/Register/Main/RegisterTooltip.lua
Expand Up @@ -221,7 +221,7 @@ local function ShouldDisplayOriginalGuild(displayOption, originalName, customNam
return false;
elseif displayOption == TooltipGuildDisplayOption.ShowWithOriginalGuild then
return true;
elseif displayOption == TooltipGuildDisplayOption.ShowWithCustomGuild and not customName then
elseif displayOption == TooltipGuildDisplayOption.ShowWithCustomGuild and (not customName or customName == "") then
return true;
elseif displayOption == TooltipGuildDisplayOption.ShowWithAllGuilds then
return true;
Expand Down

0 comments on commit d9f5e08

Please sign in to comment.