Crashfix when using /add_to_tournament

master
upsilon 2017-02-13 18:46:58 +01:00
parent 1d4351e109
commit cd7fd8cb96
No known key found for this signature in database
GPG Key ID: A80DAE1F266E1C3C
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ function pvpplus.add_to_tournament(player_name)
tournament.players[player_name] = true
tournament.sent_damages[player_name] = 0
tournament.received_damages[player_name] = 0
tournament.kills[player_names] = 0
tournament.kills[player_name] = 0
-- Send a chat message
if minetest.get_player_by_name(player_name) then