Update submodule, fix a bunch of warnings.
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Content.Server.GameObjects.Components.Research
|
||||
switch (message.Message)
|
||||
{
|
||||
case ConsoleUnlockTechnologyMessage msg:
|
||||
if (!_prototypeManager.TryIndex(msg.Id, out TechnologyPrototype tech)) break;
|
||||
if (!_prototypeManager.TryIndex(msg.Id, out TechnologyPrototype? tech)) break;
|
||||
if (client.Server == null) break;
|
||||
if (!client.Server.CanUnlockTechnology(tech)) break;
|
||||
if (client.Server.UnlockTechnology(tech))
|
||||
|
||||
Reference in New Issue
Block a user