Using latest teleport_onto_spawner arena_lib function

This commit is contained in:
Giov4 2024-06-15 16:20:27 +02:00
parent d70c6ef4bd
commit b62de7e299

View File

@ -124,5 +124,5 @@ function on_pl_detach(entity, player)
entity.object:remove()
if arena then player:set_pos(arena_lib.get_random_spawner(arena)) end
if arena then arena_lib.teleport_onto_spawner(player, arena) end
end