]> git.smokeofanarchy.ru Git - space-station-14.git/commit
BatteryWeaponFireModes refactor (#24502)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Mon, 29 Jan 2024 00:09:56 +0000 (11:09 +1100)
committerGitHub <noreply@github.com>
Mon, 29 Jan 2024 00:09:56 +0000 (11:09 +1100)
commit58b55ba06c5de031079915a607ccf3adad781f93
tree487cc6ea4a477158c78af56aa59190e3485cba1f
parent4e8b1fb0d3ef23c79ea3ca0cec05932de03601f5
BatteryWeaponFireModes refactor (#24502)

* BatteryWeaponFireModes refactor

Made the code a bit better but still needs integrating into attachments.

* murder

* Fix serialization

* weh

* weh
Content.Shared/Weapons/Ranged/Components/BatteryWeaponFireModesComponent.cs [moved from Content.Server/Weapons/Ranged/Components/BatteryWeaponFireModesComponent.cs with 62% similarity]
Content.Shared/Weapons/Ranged/Systems/BatteryWeaponFireModesSystem.cs [moved from Content.Server/Weapons/Ranged/Systems/BatteryWeaponFireModesSystem.cs with 59% similarity]
Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs