diff --git a/src/api_s2c/user/ApiPing.ts b/src/api_s2c/user/ApiPing.ts index 2eaba74..37d795c 100644 --- a/src/api_s2c/user/ApiPing.ts +++ b/src/api_s2c/user/ApiPing.ts @@ -21,8 +21,9 @@ export default async function (call: ApiCall) { openDay: PublicShared.getOpenServerDay() }); + let gud = call.conn?.gud G.server.sendMsgByUid(call.uid, 'msg_s2c/PlayerChange', { - jinbi: call.conn.gud.jinbi, - rmbmoney: call.conn.gud.rmbmoney + jinbi: gud?.jinbi, + rmbmoney: gud?.rmbmoney }); } \ No newline at end of file diff --git a/src/shared/protocols/serviceProto.ts b/src/shared/protocols/serviceProto.ts index e67824f..57b3262 100644 --- a/src/shared/protocols/serviceProto.ts +++ b/src/shared/protocols/serviceProto.ts @@ -15608,13 +15608,6 @@ export const serviceProto: ServiceProto = { "type": "Literal", "literal": "leichonglibao" } - }, - { - "id": 40, - "type": { - "type": "Literal", - "literal": "yuandan" - } } ] },