Toggles for handheld interactables. (#2049)

* how bout you give em a tog

* two more.

* boop
This commit is contained in:
derek
2020-09-13 05:03:22 -07:00
committed by GitHub
parent c7037c2293
commit a359b6b8b0
7 changed files with 9 additions and 9 deletions

View File

@@ -60,7 +60,7 @@ namespace Content.Server.GameObjects.Components.Atmos
{
_checkPlayer = true;
_position = null;
UserInterface?.Open(session);
UserInterface?.Toggle(session);
UpdateUserInterface();
Resync();
}
@@ -75,7 +75,7 @@ namespace Content.Server.GameObjects.Components.Atmos
{
_checkPlayer = false;
_position = pos;
UserInterface?.Open(session);
UserInterface?.Toggle(session);
UpdateUserInterface();
Resync();
}