This commit is contained in:
Oscar 2024-10-30 19:59:34 +03:00
parent 86c4908f43
commit 61c47b6b45
2 changed files with 3 additions and 3 deletions

View File

@ -105,12 +105,12 @@ public sealed class Kal : Component, IPlayerBase
if ( Input.Pressed( "Slot1" ) )
{
Inventory.SetActive("Pistol");
Inventory?.SetActive("Pistol");
}
if ( Input.Pressed( "Slot2" ) )
{
Inventory.Disarm();
Inventory?.Disarm();
}
CharacterController.WishVelocity = wishDirection * wishSpeed;