diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-08 11:59:51 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-08 11:59:51 +0100 |
commit | 46c2cbdcbe5e7dbc4d86a5d43b3bd7275b7a1c33 (patch) | |
tree | 31491ac6bfd880890861f1583547ff2eba3ba715 /game/prefab/ZapperPoolSubScene.cpp | |
parent | 06d41eb2d58de21a8340ca59952b96cabc8caee6 (diff) |
WIP
Diffstat (limited to 'game/prefab/ZapperPoolSubScene.cpp')
-rw-r--r-- | game/prefab/ZapperPoolSubScene.cpp | 2 |
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)); } |