From 23cf6a85bdb904a1833c6015222d9ee69842c1ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 2 Apr 2016 12:35:23 +0200 Subject: Port 2D demos to TSCN/TRES formats Part of #4196. --- demos/2d/space_shooter/enemy2.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/2d/space_shooter/enemy2.gd') 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 -- cgit v1.2.3