Update teams.lua

master
Minetest-j45 2021-03-15 22:05:02 +00:00 committed by GitHub
parent 55c62d8c34
commit f5850decb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1 +1,6 @@
sumo_deuls.teams = {lobby = {}, waiting_arena_1 = {}, arena_1 = {}}
minetest.register_on_joinplayer(function(player)
local pname = player:get_player_name()
table.insert(sumo_deuls.teams[lobby], pname)
end)