make the hydrant match the lua script

This commit is contained in:
Aaron Kimbre 2022-04-17 16:44:46 -05:00
parent 1e85ae2035
commit a8fcb4c153

View File

@ -6,7 +6,7 @@ void RockHydrantBroken::OnStartup(Entity* self)
{ {
self->AddTimer("playEffect", 1); self->AddTimer("playEffect", 1);
const auto hydrant = "hydrant" + self->GetVar<std::string>(u"hydrant"); const auto hydrant = "hydrant0" + self->GetVar<std::string>(u"hydrant");
const auto bouncers = EntityManager::Instance()->GetEntitiesInGroup(hydrant); const auto bouncers = EntityManager::Instance()->GetEntitiesInGroup(hydrant);