summaryrefslogtreecommitdiff
path: root/src/gui/windows/botcheckerwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/botcheckerwindow.cpp')
-rw-r--r--src/gui/windows/botcheckerwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/botcheckerwindow.cpp b/src/gui/windows/botcheckerwindow.cpp
index e4ab62b1a..d0130ed7a 100644
--- a/src/gui/windows/botcheckerwindow.cpp
+++ b/src/gui/windows/botcheckerwindow.cpp
@@ -194,7 +194,7 @@ void BotCheckerWindow::reset()
Being *const being = dynamic_cast<Being*>(*i);
if (being && being->getType() == ActorType::PLAYER
- && being != player_node && being->getName() != "")
+ && being != localPlayer && being->getName() != "")
{
being->resetCounters();
}