Fix emitter lock toggle (#5066)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user