AutoCompState + ItemToggle fixes (#23422)
* AutoCompState + ItemToggle fixes Fix a lot of the comp states that are never actually networked and also cleaned up ItemToggle events a bunch. ItemToggle will still need some future work for lights and sounds. * Also catch these
This commit is contained in:
@@ -107,10 +107,10 @@ namespace Content.Server.Light.EntitySystems
|
||||
switch (component.CurrentState)
|
||||
{
|
||||
case SmokableState.Lit:
|
||||
_item.SetHeldPrefix(uid, "lit", item);
|
||||
_item.SetHeldPrefix(uid, "lit", component: item);
|
||||
break;
|
||||
default:
|
||||
_item.SetHeldPrefix(uid, "unlit", item);
|
||||
_item.SetHeldPrefix(uid, "unlit", component: item);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user