Now About Social Code
summaryrefslogtreecommitdiff
path: root/scripts/dungeon_manager.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dungeon_manager.gd')
-rw-r--r--scripts/dungeon_manager.gd4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/dungeon_manager.gd b/scripts/dungeon_manager.gd
index 513fcd6..ec3f5d4 100644
--- a/scripts/dungeon_manager.gd
+++ b/scripts/dungeon_manager.gd
@@ -15,7 +15,9 @@ func create_enemies() -> void:
for i in range(num_enemies):
var enemy = enemy_inst.instantiate()
- enemy.target = $Player
+
+ # Target is controlled through enemy wander AI
+ enemy.target = null
var found_pos = false
while not found_pos: