mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-03-21 17:34:46 -05:00
Unilab : Fix first play value
This commit is contained in:
parent
ee0ae068f6
commit
3a215a1314
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user