Fixes some map-saved weapons not properly loading in (#2567)
* Fix * formatting xd
This commit is contained in:
@@ -121,8 +121,11 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Barrels
|
||||
{
|
||||
_appearanceComponent = appearanceComponent;
|
||||
}
|
||||
|
||||
Dirty();
|
||||
}
|
||||
|
||||
protected override void Startup()
|
||||
{
|
||||
UpdateAppearance();
|
||||
}
|
||||
|
||||
|
||||
@@ -200,8 +200,11 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Barrels
|
||||
var magEntity = Owner.EntityManager.SpawnEntity(_magFillPrototype, Owner.Transform.Coordinates);
|
||||
_magazineContainer.Insert(magEntity);
|
||||
}
|
||||
|
||||
Dirty();
|
||||
}
|
||||
|
||||
protected override void Startup()
|
||||
{
|
||||
UpdateAppearance();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user