DarkflameServer/dScripts/GfBananaCluster.cpp

13 lines
288 B
C++
Raw Normal View History

#include "GfBananaCluster.h"
#include "Entity.h"
2022-07-28 13:39:57 +00:00
void GfBananaCluster::OnStartup(Entity* self) {
self->AddTimer("startup", 100);
}
2022-07-28 13:39:57 +00:00
void GfBananaCluster::OnTimerDone(Entity* self, std::string timerName) {
if (timerName == "startup") {
self->ScheduleKillAfterUpdate(nullptr);
}
}