diff options
-rw-r--r-- | src/game-server/commandhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/commandhandler.cpp b/src/game-server/commandhandler.cpp index 35968286..d38828fe 100644 --- a/src/game-server/commandhandler.cpp +++ b/src/game-server/commandhandler.cpp @@ -1239,7 +1239,7 @@ static void handleKill(Character *player, std::string &args) } // kill the player - player->setAttribute(ATTR_HP, 0); + other->setAttribute(ATTR_HP, 0); // feedback std::stringstream targetMsg; |