DarkflameServer/dScripts/NjhubLavaPlayerDeathTrigger.cpp
2022-07-28 08:39:57 -05:00

10 lines
242 B
C++

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