mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 23:05:55 +00:00
Autoequip start weapon
This commit is contained in:
parent
1a403d163a
commit
69487be389
1 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,8 @@ public partial class PlayerWeaponProvider : Node2D
|
|||
_inventoryManager.WeaponEquip += this.OnInventoryWeaponEquipped;
|
||||
|
||||
_inventoryManager.ItemAdded += OnInventoryWeaponAdded;
|
||||
|
||||
EquipStartupWeapon();
|
||||
}
|
||||
|
||||
private void OnInventoryWeaponEquipped(string itemKey)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue