parent
d3e931e634
commit
c384b2de27
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
import 'tsrpc';
|
import 'tsrpc';
|
||||||
import { ApiCall, BaseConnection, ConnectionStatus, WsServer } from 'tsrpc';
|
import { ApiCall, BaseConnection, ConnectionStatus, WsServer } from 'tsrpc';
|
||||||
import { Wjjl } from './module/collection_wjjl';
|
import { Wjjl } from './module/collection_wjjl';
|
||||||
@ -132,7 +133,7 @@ BaseConnection.prototype.getDefaultFightData = async function (this: BaseConnect
|
|||||||
posObj = this.gud.matrixPos[this.gud.selectMatrix];
|
posObj = this.gud.matrixPos[this.gud.selectMatrix];
|
||||||
}
|
}
|
||||||
|
|
||||||
let heros = await HeroFun.getHeros(this, Object.values(posObj).filter(_id => _id != '') as string[]);
|
let heros = await HeroFun.getHeros(this, Object.values(posObj).filter(_id => _id != ''));
|
||||||
|
|
||||||
Object.entries(posObj).forEach(obj => {
|
Object.entries(posObj).forEach(obj => {
|
||||||
let pos = obj[0];
|
let pos = obj[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user