mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-08-20 09:54:13 -05:00
Fix loading of rivals scores
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user