Skip to content

Commit 0e29831

Browse files
committed
Hide ghost name if ghost invisible
1 parent 465e015 commit 0e29831

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

GhostMod/Ghost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public override void Update() {
139139
Visible &= alpha > 0f;
140140

141141
if (Name != null)
142-
Name.Alpha = alpha;
142+
Name.Alpha = Visible ? alpha : 0f;
143143

144144
base.Update();
145145
}

GhostMod/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: GhostMod
2-
Version: 1.0.0
2+
Version: 1.0.1
33
DLL: GhostMod.dll
44
Dependencies:
55
- Name: Everest

0 commit comments

Comments
 (0)