prevent players from being left in arena because of detachment by delaying elimination
This commit is contained in:
parent
7f12f9f6b1
commit
a8366a47b8
@ -1,4 +1,4 @@
|
||||
wormball.version = "02.03.2021.2"
|
||||
wormball.version = "02.03.2021.3"
|
||||
|
||||
|
||||
wormball.player_texture_save = {}
|
||||
|
@ -319,7 +319,11 @@ minetest.register_globalstep(function(dtime)
|
||||
to_player = pl_name,
|
||||
gain = 2.0,
|
||||
})
|
||||
minetest.after(.3,function(pl_name)
|
||||
arena_lib.remove_player_from_arena(pl_name, 1)
|
||||
|
||||
end,pl_name)
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user