mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-16 21:17:39 +03:00
Change text for ghost visibility button (#30998)
* add new text * changed loc names * fixes (cherry picked from commit b2a24f50dd7dff965a44ebeea3e7f67bf5a86976)
This commit is contained in:
@@ -119,8 +119,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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user