mirror of
https://github.com/Squareville/TestEventServer.git
synced 2026-05-12 19:28:51 -05:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include "NjhubLavaPlayerDeathTrigger.h"
|
||||
|
||||
void NjhubLavaPlayerDeathTrigger::OnCollisionPhantom(Entity *self, Entity *target)
|
||||
{
|
||||
if (!target->IsPlayer())
|
||||
return;
|
||||
|
||||
target->Smash(self->GetObjectID(), VIOLENT, u"drown");
|
||||
}
|
||||
Reference in New Issue
Block a user