Fix another crash
parent
402c05ae81
commit
076d29d030
|
@ -60,7 +60,7 @@ function pvpplus.get_score(name)
|
|||
if not pvpplus.is_running_tournament() then
|
||||
return false, "There is no running tournament."
|
||||
end
|
||||
if not pvpplus.sent_damages[name] then
|
||||
if not tournament.sent_damages[name] then
|
||||
return false, "Player " .. name .. " did not play in the current tournament."
|
||||
end
|
||||
return tournament.sent_damages[name] - tournament.received_damages[name] + tournament.kills[name] * 20
|
||||
|
|
Loading…
Reference in New Issue