aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperPoolSubScene.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 11:59:51 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 11:59:51 +0100
commit46c2cbdcbe5e7dbc4d86a5d43b3bd7275b7a1c33 (patch)
tree31491ac6bfd880890861f1583547ff2eba3ba715 /game/prefab/ZapperPoolSubScene.cpp
parent06d41eb2d58de21a8340ca59952b96cabc8caee6 (diff)
WIP
Diffstat (limited to 'game/prefab/ZapperPoolSubScene.cpp')
-rw-r--r--game/prefab/ZapperPoolSubScene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/prefab/ZapperPoolSubScene.cpp b/game/prefab/ZapperPoolSubScene.cpp
index 923ed57..e341090 100644
--- a/game/prefab/ZapperPoolSubScene.cpp
+++ b/game/prefab/ZapperPoolSubScene.cpp
@@ -12,7 +12,7 @@ ZapperPoolSubScene::ZapperPoolSubScene(Scene & scene)
Log::logf(Log::DEBUG, "Building zapper pool...");
vector<ZapperObject> pool;
for (size_t i = 0; i < this->POOL_SIZE; i++)
- pool.emplace_back(scene.new_object("zapper"));
+ pool.emplace_back(scene.new_object("zapper", "zapper"));
BehaviorScript & behavior = this->controller.add_component<BehaviorScript>();
behavior.set_script<ZapperPoolScript>(std::move(pool));
}