Fix emitter lock toggle (#5066)

This commit is contained in:
Leon Friedrich
2021-10-29 00:29:19 +13:00
committed by GitHub
parent 94579d1877
commit 5dd73ff6e0
7 changed files with 11 additions and 51 deletions

View File

@@ -1,5 +1,6 @@
using System;
using Content.Shared.Singularity.Components;
using Content.Shared.Storage;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
@@ -20,7 +21,7 @@ namespace Content.Client.Singularity.Visualizers
return;
}
if (!component.TryGetData(EmitterVisuals.Locked, out bool locked))
if (!component.TryGetData(StorageVisuals.Locked, out bool locked))
locked = false;