diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/popupmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 7e4bfd65..9052e9d2 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -261,9 +261,9 @@ void PopupMenu::handleLink(const std::string &link) { player_node->inviteToGuild(being); } - + // Follow Player action - else if (link == "follow") + else if (link == "follow" && being) { player_node->setFollow(being->getName()); } |