Skip to content

Commit

Permalink
Hide ghost name if ghost invisible
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0ade committed Mar 5, 2018
1 parent 465e015 commit 0e29831
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GhostMod/Ghost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public override void Update() {
Visible &= alpha > 0f;

if (Name != null)
Name.Alpha = alpha;
Name.Alpha = Visible ? alpha : 0f;

base.Update();
}
Expand Down
2 changes: 1 addition & 1 deletion GhostMod/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: GhostMod
Version: 1.0.0
Version: 1.0.1
DLL: GhostMod.dll
Dependencies:
- Name: Everest
Expand Down

0 comments on commit 0e29831

Please sign in to comment.