Have Consolation Prize use EID:getPlayerName instead of directly using player:GetName() (#790)

This commit is contained in:
BenevolusGoat authored and GitHub committed 2024-12-29 18:00:29 +01:00
1 parent 19084c4002
commit 0fd8346b66
1 file changed
+1 -1
+1 -1
View File
@@ -459,7 +459,7 @@ if EID.isRepentance then
for p = 1,#EID.coopAllPlayers do for p = 1,#EID.coopAllPlayers do
local player = EID.coopAllPlayers[p] local player = EID.coopAllPlayers[p]
local playerID = player:GetPlayerType() local playerID = player:GetPlayerType()
local playerName = player:GetName() local playerName = EID:getPlayerName(player:GetPlayerType())
local playerStats = {} local playerStats = {}
playerStats[1] = EID:SimpleRound((player.MoveSpeed * 4.5) - 2) playerStats[1] = EID:SimpleRound((player.MoveSpeed * 4.5) - 2)