mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-25 19:04:43 +00:00
提交
This commit is contained in:
parent
c65eed7e63
commit
b44ec7d2e4
@ -112,7 +112,7 @@ export default class GOnHookManager extends Singleton{
|
||||
//获取下一只野怪
|
||||
getNextCreeps(){
|
||||
if(this.getKillSreepsIds().length > 50) return;
|
||||
if(!this.sreeps) return;
|
||||
if(!this.sreeps || this.sreeps.size < 1) return;
|
||||
let creeps = this.sreeps.get(this.sreeps.keys().next()?.value);
|
||||
this.sreeps.delete(creeps.key);
|
||||
return creeps;
|
||||
|
@ -44,7 +44,9 @@ export class LoginView extends JNLayerBase {
|
||||
if(info){
|
||||
app.layer.Open(GUI.Tips,{text:"登录成功"});
|
||||
//保存Token
|
||||
if(EnvCurrent != Env.Server){
|
||||
StorageData.set(StorageEnum.Token,info.token);
|
||||
}
|
||||
this.resolve(info.token);
|
||||
this.onJNClose();
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
// const URL = "http://192.168.0.174:7457/web-desktop/web-desktop/index.html"
|
||||
// const express = require("express");
|
||||
// const app = express();
|
||||
const URL = "http://192.168.2.7:7456/web-desktop/web-desktop/index.html"
|
||||
const URL = "http://192.168.207.76:7456/web-desktop/web-desktop/index.html"
|
||||
|
||||
// const runCocos = () => {
|
||||
const { JSDOM,ResourceLoader } = require('jsdom')
|
||||
|
Loading…
x
Reference in New Issue
Block a user