diff options
Diffstat (limited to 'src/net/ea/gui')
-rw-r--r-- | src/net/ea/gui/partytab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index 15ef5fc80..dfb4b9dcc 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -206,10 +206,10 @@ bool PartyTab::handleCommand(const std::string &restrict type, void PartyTab::getAutoCompleteList(StringVect &names) const { - if (!player_node) + if (!localPlayer) return; - const Party *const p = player_node->getParty(); + const Party *const p = localPlayer->getParty(); if (p) p->getNames(names); |