Delta-v/Content.Shared/Wieldable
Doomsdrayk 88bd1fbab1
Fix guns appearing to cycle bolt when wielded (#28756)
Adds a check during wielding to see if the code is running clientside, and if so skip the part responsible for creating the virtual items.

This is necessary because TrySpawnVirtualItem is blocked from running clientside, so trying to spawn the virtual items for wielding causes the client to always believe the wield has failed. This erroneous failure leads to the display of incorrect feedback until the server's successful wield attempt makes it to the client. The added check prevents wielding from failing in this way and therefore allows the client to behave as expected.
2024-07-05 20:27:51 +02:00
..
Components fix wieldable guns not being able to cycle inhand (#27307) 2024-05-03 00:18:52 +02:00
BeforeUnwieldEvent.cs Predict wielding (#16275) 2023-05-10 10:01:23 +10:00
BeforeWieldEvent.cs Predict wielding (#16275) 2023-05-10 10:01:23 +10:00
ItemUnwieldedEvent.cs Predict wielding (#16275) 2023-05-10 10:01:23 +10:00
ItemWieldedEvent.cs Make PKA require wielding (#16638) 2023-06-01 12:27:19 +10:00
WieldableDoAfterEvent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
WieldableSystem.cs Fix guns appearing to cycle bolt when wielded (#28756) 2024-07-05 20:27:51 +02:00