Unilab : Fix first play value

This commit is contained in:
cracrayol 2025-09-24 16:45:58 +02:00
parent ee0ae068f6
commit 3a215a1314

View File

@ -563,8 +563,8 @@ const getProfile = async (refid: string, version: string, name?: string) => {
const teams = achievements.team || [];
const batteries = achievements.battery || [];
player.event_p27.first_play = K.ITEM('bool', teams.length != 0);
player.event_p27.elem_first_play = K.ITEM('bool', batteries.length != 0);
player.event_p27.first_play = K.ITEM('bool', teams.length == 0);
player.event_p27.elem_first_play = K.ITEM('bool', batteries.length == 0);
player.event_p27.team = [];
for (const team of teams) {