minor tweaks and fixed barrel explosion
This commit is contained in:
@@ -58,7 +58,7 @@ func _on_body_entered(body: Node) -> void:
|
||||
instance_bullethole.look_at(ray.get_collision_point() + ray.get_collision_normal())
|
||||
|
||||
if body.is_in_group("switch"):
|
||||
body.hit()
|
||||
body.hit(bullet_damage)
|
||||
|
||||
|
||||
if body.is_in_group("breakable"):
|
||||
|
||||
Reference in New Issue
Block a user