send removeOutline flag if needed

This commit is contained in:
Piotr 'pwh' Hanusiak 2022-04-27 17:08:14 +02:00 committed by David Négrier
parent 9427ca8d7c
commit f9a4bcff29

View File

@ -150,6 +150,9 @@ export class User implements Movable {
if (this.outlineColor !== undefined) {
playerDetails.setOutlinecolor(new UInt32Value().setValue(this.outlineColor));
}
if (details.getRemoveoutlinecolor()) {
playerDetails.setRemoveoutlinecolor(new BoolValue().setValue(true));
}
if (this.voiceIndicatorShown !== undefined) {
playerDetails.setShowvoiceindicator(new BoolValue().setValue(this.voiceIndicatorShown));
}