Skip to content

Commit

Permalink
fixywixy
Browse files Browse the repository at this point in the history
  • Loading branch information
amylizzle committed Feb 2, 2024
1 parent fe6c1a8 commit 4f456bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenDreamShared/Dream/VerbSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public string GetCategoryOrDefault(string defaultCategory) =>

// TODO: Hidden verbs probably shouldn't be sent to the client in the first place?
public bool IsHidden(bool ignoreHiddenAttr, sbyte seeInvisibility) =>
(!ignoreHiddenAttr && HiddenAttribute) || Name.StartsWith('.') || seeInvisibility < Invisibility;
(!ignoreHiddenAttr && (HiddenAttribute || Name.StartsWith('.'))) || seeInvisibility < Invisibility;

public override string ToString() => GetCommandName();
}
Expand Down

0 comments on commit 4f456bb

Please sign in to comment.