mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-21 06:48:11 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
14
dScripts/GfBananaCluster.cpp
Normal file
14
dScripts/GfBananaCluster.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "GfBananaCluster.h"
|
||||
|
||||
void GfBananaCluster::OnStartup(Entity* self)
|
||||
{
|
||||
self->AddTimer("startup", 100);
|
||||
}
|
||||
|
||||
void GfBananaCluster::OnTimerDone(Entity* self, std::string timerName)
|
||||
{
|
||||
if (timerName == "startup")
|
||||
{
|
||||
self->ScheduleKillAfterUpdate(nullptr);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user