mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
scope
This commit is contained in:
parent
0778b4f81c
commit
6cef7a437a
@ -10,10 +10,11 @@ void WhFans::OnStartup(Entity* self) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void WhFans::ToggleFX(Entity* self, bool hit) {
|
void WhFans::ToggleFX(Entity* self, bool hit) {
|
||||||
|
std::string fanGroup = ""
|
||||||
try {
|
try {
|
||||||
std::string fanGroup = self->GetGroups()[0];
|
fanGroup = self->GetGroups()[0];
|
||||||
} catch(...) {
|
} catch(...) {
|
||||||
std::string fanGroup = "";
|
fanGroup = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
Game::logger->Log("WhFans", "Toggling FX for Fan Group(%s)\n", fanGroup.c_str());
|
Game::logger->Log("WhFans", "Toggling FX for Fan Group(%s)\n", fanGroup.c_str());
|
||||||
|
Loading…
Reference in New Issue
Block a user