From 6f1163f9acdb0a7bcaa57d35471dc9e396e8f372 Mon Sep 17 00:00:00 2001 From: Untrustedlife Date: Mon, 21 Jan 2019 13:10:06 -0600 Subject: [PATCH] fixed bug where floating chloeoplasts wouldnt get deleted --- src/thrive_common.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/thrive_common.cpp b/src/thrive_common.cpp index 67352249b64..66706e4a394 100644 --- a/src/thrive_common.cpp +++ b/src/thrive_common.cpp @@ -262,10 +262,10 @@ std::unique_ptr std::make_unique("cell", 1); auto floatingOrganelleMaterial = std::make_unique("floatingOrganelle", 2); - auto ironMaterial = - std::make_unique("iron", 2); auto agentMaterial = std::make_unique("agentCollision", 3); + auto ironMaterial = + std::make_unique("iron", 4); // Set callbacks // @@ -289,8 +289,8 @@ std::unique_ptr manager->LoadedMaterialAdd(std::move(cellMaterial)); manager->LoadedMaterialAdd(std::move(floatingOrganelleMaterial)); - manager->LoadedMaterialAdd(std::move(ironMaterial)); manager->LoadedMaterialAdd(std::move(agentMaterial)); + manager->LoadedMaterialAdd(std::move(ironMaterial)); return manager; }