mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 11:45:55 +00:00
Manual Reload
This commit is contained in:
parent
9a5267b3e9
commit
3b19e2b76f
10 changed files with 92 additions and 6 deletions
|
|
@ -177,6 +177,14 @@ public partial class PlayerWeaponProvider : Node2D
|
|||
EquippedWeapon.Shoot();
|
||||
}
|
||||
|
||||
public void Reload()
|
||||
{
|
||||
if (EquippedWeapon == null) return;
|
||||
if (_switching) return;
|
||||
|
||||
EquippedWeapon.Reload();
|
||||
}
|
||||
|
||||
// Remastered method
|
||||
private LootItem GetItemFromInventory(string itemKey)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue