mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-18 13:54:01 +08:00
Fix not clearing cape preview when switching players
This commit is contained in:
parent
b7df1b362c
commit
fda8d9fd35
@ -276,6 +276,11 @@ var TexturePreview = function (type, tid, preference) {
|
||||
this.showNotUploaded = function () {
|
||||
this.selector.hide().parent().next().show();
|
||||
|
||||
// clear 3D preview of cape
|
||||
if (this.type == 'cape') {
|
||||
MSP.changeCape('');
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user