fixes enpendablelight to actually be expendable
This commit is contained in:
@@ -56,7 +56,7 @@ namespace Content.Server.Light.Components
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private bool TryActivate()
|
private bool TryActivate()
|
||||||
{
|
{
|
||||||
if (!Activated)
|
if (!Activated && CurrentState == ExpendableLightState.BrandNew)
|
||||||
{
|
{
|
||||||
if (Owner.TryGetComponent<ItemComponent>(out var item))
|
if (Owner.TryGetComponent<ItemComponent>(out var item))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user