summaryrefslogtreecommitdiffstats
path: root/assets/weapons/goo_gun/Bullet.gd
diff options
context:
space:
mode:
Diffstat (limited to 'assets/weapons/goo_gun/Bullet.gd')
-rw-r--r--assets/weapons/goo_gun/Bullet.gd6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/weapons/goo_gun/Bullet.gd b/assets/weapons/goo_gun/Bullet.gd
index 2edba6b..5c5097f 100644
--- a/assets/weapons/goo_gun/Bullet.gd
+++ b/assets/weapons/goo_gun/Bullet.gd
@@ -3,8 +3,8 @@ extends RigidBody
export var material : Material = null
func _ready():
- if material != null:
- $MeshInstance.set("material/0", material)
+ if material != null:
+ $MeshInstance.set("material/0", material)
func _on_Bullet_body_entered(_body):
- queue_free()
+ queue_free()