diff options
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)); } |