fixed a wallhanging bug and explosion shader precompilation to alleviate stuttering

This commit is contained in:
2026-02-04 10:32:44 +01:00
parent 0e412c2a42
commit 15ab9edab1
6 changed files with 8 additions and 2 deletions

View File

@@ -2115,6 +2115,8 @@ public partial class PlayerController : CharacterBody3D,
public void OnInputHitPressed()
{
if (_onWallHanging.Active) return;
if (_aiming.Active && WeaponSystem.InHandState.Active)
{
ThrowWeapon();