reinit适配
This commit is contained in:
parent
1daa74f4b7
commit
45d5f1a038
|
@ -2510,13 +2510,16 @@ export class Player extends HTMLDivElement {
|
|||
}
|
||||
if (this.name2 == from) {
|
||||
this.name2 = to;
|
||||
this.skin.name2 = to;
|
||||
}
|
||||
else if (this.name == from || this.name1 == from) {
|
||||
if (this.name1 == from) {
|
||||
this.name1 = to;
|
||||
this.skin.name = to;
|
||||
}
|
||||
if (!this.isUnseen(1)) {
|
||||
this.name = to;
|
||||
if (this.skin.name != to) this.skin.name = to;
|
||||
this.sex = info2[0];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue