Add access to gun components (#30688)
* Add access to gun components Found from an rmc14 PR. * Admin verbs proving why access needs to exist * Someone is probably going to post this pr to le reddit and complain about self-merges.
This commit is contained in:
@@ -724,15 +724,7 @@ public sealed partial class AdminVerbSystem
|
||||
if (!int.TryParse(amount, out var result))
|
||||
return;
|
||||
|
||||
if (result > 0)
|
||||
{
|
||||
ballisticAmmo.UnspawnedCount = result;
|
||||
}
|
||||
else
|
||||
{
|
||||
ballisticAmmo.UnspawnedCount = 0;
|
||||
}
|
||||
|
||||
_gun.SetBallisticUnspawned((args.Target, ballisticAmmo), result);
|
||||
_gun.UpdateBallisticAppearance(args.Target, ballisticAmmo);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user