From e13c0853b6fdf89e9e77e4ae03ae7c2b2e2160ce Mon Sep 17 00:00:00 2001 From: Ymihere03 Date: Tue, 9 Apr 2024 16:24:17 -0600 Subject: [PATCH] Fix bug with wall crush events when using the text kill feed --- src/game/CScoreKeeper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/CScoreKeeper.cpp b/src/game/CScoreKeeper.cpp index d85140e0..ee6229bd 100644 --- a/src/game/CScoreKeeper.cpp +++ b/src/game/CScoreKeeper.cpp @@ -255,7 +255,7 @@ void CScoreKeeper::Score(ScoreInterfaceReasons reason, iface.consoleLine = destStr; iface.consoleJustify = static_cast(MsgAlignment::Center); itsGame->itsApp->ComposeParamLine( - destStr, kmKilledByCollision, itsGame->itsNet->playerTable[hitPlayer]->PlayerName(), NULL); + destStr, kmKilledByCollision, itsGame->itsNet->playerTable[player]->PlayerName(), NULL); } event.scoreType = ksiKillBonus;