From f9a4bcff29b018b911be1a97390308e2619353b8 Mon Sep 17 00:00:00 2001
From: Piotr 'pwh' Hanusiak
Date: Wed, 27 Apr 2022 17:08:14 +0200
Subject: [PATCH] send removeOutline flag if needed
---
back/src/Model/User.ts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/back/src/Model/User.ts b/back/src/Model/User.ts
index b103f240..d9ed323f 100644
--- a/back/src/Model/User.ts
+++ b/back/src/Model/User.ts
@@ -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));
}