diff --git a/modules/wave_survival/enemy_spawner.h b/modules/wave_survival/enemy_spawner.h index 2cb338cc..87c512e2 100644 --- a/modules/wave_survival/enemy_spawner.h +++ b/modules/wave_survival/enemy_spawner.h @@ -3,7 +3,7 @@ #include "core/io/resource.h" #include "core/templates/hash_map.h" -#include "scene/3d/node_3d.h" +#include "scene/3d/marker_3d.h" class MapRegion; class PatrolPath; @@ -19,8 +19,8 @@ public: HashMap> difficulty_spawns{}; }; -class EnemySpawner : public Node3D { - GDCLASS(EnemySpawner, Node3D); +class EnemySpawner : public Marker3D { + GDCLASS(EnemySpawner, Marker3D); static void _bind_methods(); void on_phase_change(bool hunt); void ready();