Change text for ghost visibility button (#30998)

* add new text

* changed loc names

* fixes
This commit is contained in:
tosatur
2025-02-14 16:09:54 +00:00
committed by deltanedas
parent 73284bcc47
commit b0abbaa0fb
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -99,8 +99,8 @@ namespace Content.Client.Ghost
if (args.Handled)
return;
Popup.PopupEntity(Loc.GetString("ghost-gui-toggle-ghost-visibility-popup"), args.Performer);
var locId = GhostVisibility ? "ghost-gui-toggle-ghost-visibility-popup-off" : "ghost-gui-toggle-ghost-visibility-popup-on";
Popup.PopupEntity(Loc.GetString(locId), args.Performer);
if (uid == _playerManager.LocalEntity)
ToggleGhostVisibility();