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 = {}
|
wormball.player_texture_save = {}
|
||||||
|
@ -318,8 +318,12 @@ minetest.register_globalstep(function(dtime)
|
|||||||
minetest.sound_play('sumo_lose', {
|
minetest.sound_play('sumo_lose', {
|
||||||
to_player = pl_name,
|
to_player = pl_name,
|
||||||
gain = 2.0,
|
gain = 2.0,
|
||||||
})
|
})
|
||||||
arena_lib.remove_player_from_arena(pl_name, 1)
|
minetest.after(.3,function(pl_name)
|
||||||
|
arena_lib.remove_player_from_arena(pl_name, 1)
|
||||||
|
|
||||||
|
end,pl_name)
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user