Audio system rework

This commit is contained in:
Rendo 2025-12-12 00:13:22 +05:00
commit 347a990421
21 changed files with 173 additions and 29 deletions

View file

@ -332,7 +332,7 @@ func shoot(id:int , limb_damage: int, torso_damage: int,head_damage: int, distan
if collision != {} and collision["collider"] is Player:
var hit_player: Player = collision["collider"]
var shape_object: CollisionShape3D = hit_player.shape_owner_get_owner(collision["shape"])
var reduction: float = 0
var reduction: float = 1
var damage: int = 0
match shape_object.get_groups()[0]: