Update teams.lua

master
Minetest-j45 2021-03-20 21:11:52 +00:00 committed by GitHub
parent 81095ddfdf
commit 9b8c5e01e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ end)
minetest.register_on_dieplayer(function(player)
local team = sumo_duels.get_player_team(player:get_player_name())
if not team == "arena_1" then return end
if not team == "arena_1" or not team == "arena_2" or not team == "arena_3" then return end
if sumo_duels.get_other_team_player(player:get_player_name()) then
minetest.chat_send_player(sumo_duels.get_other_team_player(player:get_player_name()), "Your opponent died! GG, you win")
end