mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 14:03:34 +00:00
8 lines
246 B
C++
8 lines
246 B
C++
|
#include "GfRaceInstancer.h"
|
||
|
|
||
|
#include "Entity.h"
|
||
|
|
||
|
void GfRaceInstancer::OnStartup(Entity* self) {
|
||
|
self->SetProximityRadius(self->HasVar(u"interaction_distance") ? self->GetVar<float>(u"interaction_distance") : 16.0f, "Interaction_Distance");
|
||
|
}
|