mirror of
https://github.com/Squareville/TestEventServer.git
synced 2026-02-25 10:28:52 -06:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
9
dScripts/NjhubLavaPlayerDeathTrigger.cpp
Normal file
9
dScripts/NjhubLavaPlayerDeathTrigger.cpp
Normal file
@@ -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