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:
@@ -57,7 +57,7 @@ public abstract class SharedMagbootsSystem : EntitySystem
|
||||
|
||||
if (TryComp<ItemComponent>(uid, out var item))
|
||||
{
|
||||
_item.SetHeldPrefix(uid, magboots.On ? "on" : null, item);
|
||||
_item.SetHeldPrefix(uid, magboots.On ? "on" : null, component: item);
|
||||
_clothing.SetEquippedPrefix(uid, magboots.On ? "on" : null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user