From fb4d0a3edd0c689d9ddda614d1463a8c67beb9c9 Mon Sep 17 00:00:00 2001 From: mbergen Date: Wed, 24 Apr 2024 16:12:01 +0200 Subject: [PATCH] feat(infobox): enable autoTeam for freefire (#4219) feat(infobox) Enable autoTeam for freefire --- .../infobox/wikis/freefire/infobox_person_player_custom.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/infobox/wikis/freefire/infobox_person_player_custom.lua b/components/infobox/wikis/freefire/infobox_person_player_custom.lua index 967485de618..34aa91c84b2 100644 --- a/components/infobox/wikis/freefire/infobox_person_player_custom.lua +++ b/components/infobox/wikis/freefire/infobox_person_player_custom.lua @@ -58,6 +58,8 @@ function CustomPlayer.run(frame) local player = CustomPlayer(frame) player:setWidgetInjector(CustomInjector(player)) + player.args.autoTeam = true + player.role = player:_getRoleData(player.args.role) player.role2 = player:_getRoleData(player.args.role2)