DarkflameServer/dScripts/NjhubLavaPlayerDeathTrigger.cpp
2021-12-05 18:54:36 +01:00

10 lines
235 B
C++

#include "NjhubLavaPlayerDeathTrigger.h"
void NjhubLavaPlayerDeathTrigger::OnCollisionPhantom(Entity *self, Entity *target)
{
if (!target->IsPlayer())
return;
target->Smash(self->GetObjectID(), VIOLENT, u"drown");
}