summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-02 16:34:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-02 22:35:39 +0200
commit6abcd7d52cda334c58ec999d212491fc24f13c9d (patch)
tree86998508afe8eb7447ad70a2d5beebdbc9995a8f /src/chunk.cpp
parent03b67a512ec9ef1cf5c337aa5c47a5a76d4a8a61 (diff)
script lifecycle mostly implemented
Diffstat (limited to 'src/chunk.cpp')
-rw-r--r--src/chunk.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/chunk.cpp b/src/chunk.cpp
index e2b26e72..9f6fe993 100644
--- a/src/chunk.cpp
+++ b/src/chunk.cpp
@@ -173,7 +173,6 @@ void chunk::add_object(const std::shared_ptr<object>& e)
void chunk::on_teardown()
{
fm_assert(!_teardown); // too late, some chunks were already erased
- //for (const auto& eʹ : _objects) eʹ->on_destroy(eʹ, true); // todo!
}
void chunk::remove_object(size_t i)