fix: fv pipe quick build not spawning as it should (#1991)

tested that the pipe now spawns a ROCK that you can build.  This ROCK you build spawns the PIPE now.
new bug: if you start building the ROCK and stop, the pipe will spawn instead of the previous rock.
This commit is contained in:
David Markowitz
2026-06-11 07:12:06 -07:00
committed by GitHub
parent 90607bdd5c
commit 707880b5fc
4 changed files with 35 additions and 3 deletions

View File

@@ -55,7 +55,8 @@ Spawner::Spawner(const SpawnerInfo info) {
m_SpawnSmashFoundGroup = true;
m_SpawnOnSmashID = ssSpawner ? ssSpawner->m_Info.spawnerID : LWOOBJID_EMPTY;
ssSpawner->AddSpawnedEntityDieCallback([=, this]() {
Spawn();
// Intentionally left as a non debug log since i have no idea how much stuff this would affect
LOG("WOULD HAVE SPAWNED %i", m_EntityInfo.lot);
});
}
}