mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-09-22 22:27:56 +03: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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user