Enable nullability in Content.Server (#3685)
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Content.Server.GameObjects.Components.Research
|
||||
/// </summary>
|
||||
public void Sync()
|
||||
{
|
||||
if (!Owner.TryGetComponent(out TechnologyDatabaseComponent database)) return;
|
||||
if (!Owner.TryGetComponent(out TechnologyDatabaseComponent? database)) return;
|
||||
|
||||
foreach (var technology in database.Technologies)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user