Fix Research Server (#7237)

This commit is contained in:
Pancake
2022-03-22 18:47:48 -07:00
committed by GitHub
parent 1a6d2632cf
commit b768f0741c
2 changed files with 5 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ namespace Content.Client.Research.UI
Servers.AddItem(Loc.GetString("research-client-server-selection-menu-server-entry-text", ("id", id), ("serverName", _serverNames[i])));
if (id == _selectedServerId)
{
Servers[id].Selected = true;
Servers[i].Selected = true;
}
}

View File

@@ -34,6 +34,7 @@
range: 5
sound:
path: /Audio/Ambience/Objects/server_fans.ogg
- type: entity
id: BaseResearchAndDevelopmentPointSource
parent: BaseMachinePowered
@@ -54,6 +55,9 @@
radius: 1.5
energy: 1.6
color: "#3db83b"
- type: ActivatableUI
key: enum.ResearchClientUiKey.Key
- type: ActivatableUIRequiresPower
- type: UserInterface
interfaces:
- key: enum.ResearchClientUiKey.Key