summaryrefslogtreecommitdiff
path: root/demos/2d/space_shooter/enemy2.gd
diff options
context:
space:
mode:
Diffstat (limited to 'demos/2d/space_shooter/enemy2.gd')
-rw-r--r--demos/2d/space_shooter/enemy2.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/2d/space_shooter/enemy2.gd b/demos/2d/space_shooter/enemy2.gd
index bfdb743103..cd06579d74 100644
--- a/demos/2d/space_shooter/enemy2.gd
+++ b/demos/2d/space_shooter/enemy2.gd
@@ -17,7 +17,7 @@ func _process(delta):
shoot_timeout = SHOOT_INTERVAL
# Instance a shot
- var shot = preload("res://enemy_shot.scn").instance()
+ var shot = preload("res://enemy_shot.tscn").instance()
# Set pos as "shoot_from" Position2D node
shot.set_pos(get_node("shoot_from").get_global_pos())
# Add it to parent, so it has world coordinates