mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-03-21 17:34:46 -05:00
Fix loading of rivals scores
This commit is contained in:
parent
84113ca2e2
commit
b9257ce08a
|
|
@ -461,7 +461,7 @@ const write = async (req: EamuseInfo, data: any, send: EamuseSend): Promise<any>
|
|||
*/
|
||||
const friend = async (req: EamuseInfo, data: any, send: EamuseSend): Promise<any> => {
|
||||
const refid = $(data).attr()['ref_id'];
|
||||
const no = parseInt($(data).attr()['no'], -1);
|
||||
const no = parseInt($(data).attr()['no'], 10);
|
||||
|
||||
const rivals = await utils.readRivals(refid);
|
||||
|
||||
|
|
|
|||
|
|
@ -384,7 +384,7 @@ const write = async (req: EamuseInfo, data: any, send: EamuseSend): Promise<any>
|
|||
*/
|
||||
const friend = async (req: EamuseInfo, data: any, send: EamuseSend): Promise<any> => {
|
||||
const refid = $(data).attr()['ref_id'];
|
||||
const no = parseInt($(data).attr()['no'], -1);
|
||||
const no = parseInt($(data).attr()['no'], 10);
|
||||
|
||||
const rivals = await utils.readRivals(refid);
|
||||
|
||||
|
|
|
|||
|
|
@ -638,7 +638,7 @@ const write = async (req: EamuseInfo, data: any, send: EamuseSend): Promise<any>
|
|||
*/
|
||||
const friend = async (req: EamuseInfo, data: any, send: EamuseSend): Promise<any> => {
|
||||
const refid = $(data).attr()['ref_id'];
|
||||
const no = parseInt($(data).attr()['no'], -1);
|
||||
const no = parseInt($(data).attr()['no'], 10);
|
||||
const version = getVersion(req);
|
||||
|
||||
const rivals = await utils.readRivals(refid);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user