summaryrefslogtreecommitdiff
path: root/demos/2d/space_shooter/enemy2.gd
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-04-02 12:35:23 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-04-02 14:39:08 +0200
commit23cf6a85bdb904a1833c6015222d9ee69842c1ed (patch)
treef363b1cf1b6c9deb0549b071514dfc1ee7d5f093 /demos/2d/space_shooter/enemy2.gd
parent4eb49cc73241e0597174c4bfdfdddaf96dce86af (diff)
Port 2D demos to TSCN/TRES formats
Part of #4196.
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