This commit is contained in:
Aaron Kimbre 2022-04-17 20:24:19 -05:00
parent 0778b4f81c
commit 6cef7a437a

View File

@ -10,10 +10,11 @@ void WhFans::OnStartup(Entity* self) {
}
void WhFans::ToggleFX(Entity* self, bool hit) {
std::string fanGroup = ""
try {
std::string fanGroup = self->GetGroups()[0];
fanGroup = self->GetGroups()[0];
} catch(...) {
std::string fanGroup = "";
fanGroup = "";
}
Game::logger->Log("WhFans", "Toggling FX for Fan Group(%s)\n", fanGroup.c_str());