summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/socialguildtab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/socialguildtab.h')
-rw-r--r--src/gui/widgets/tabs/socialguildtab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/socialguildtab.h b/src/gui/widgets/tabs/socialguildtab.h
index 0347087b7..ba9127418 100644
--- a/src/gui/widgets/tabs/socialguildtab.h
+++ b/src/gui/widgets/tabs/socialguildtab.h
@@ -145,10 +145,10 @@ class SocialGuildTab final : public SocialTab,
}
else
{
- if (!player_node)
+ if (!localPlayer)
return;
- const Guild *const guild = player_node->getGuild();
+ const Guild *const guild = localPlayer->getGuild();
if (!guild)
return;