Skip to content

Commit e8d662a

Browse files
committed
hide AI names by default, more work needed
1 parent 9897139 commit e8d662a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

static/scripts/ocap.entity.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,12 @@ class Entity {
151151
let element = popup.getElement();
152152
if (element == null) { return }
153153
let display = "inherit";
154-
if (bool || !ui.nicknameEnable) { display = "none" }
154+
// if (!this.isPlayer) {
155+
// popup.closePopup();
156+
// display = "none"
157+
// } else {
158+
if (bool || !ui.nicknameEnable || !this.isPlayer) { display = "none" };
159+
// };
155160

156161
if (element.style.display !== display) {
157162
element.style.display = display;

0 commit comments

Comments
 (0)