We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3f5b141 + 345627f commit f6e61d4Copy full SHA for f6e61d4
server/src/events/Main.cpp
@@ -59,6 +59,7 @@ V8Helpers::LocalEventHandler weaponDamage(EventType::WEAPON_DAMAGE_EVENT,
59
args.push_back(V8Helpers::JSValue(ev->GetDamageValue()));
60
args.push_back(resource->CreateVector3(ev->GetShotOffset()));
61
args.push_back(V8Helpers::JSValue(static_cast<int8_t>(ev->GetBodyPart())));
62
+ args.push_back(resource->GetBaseObjectOrNull(ev->GetSourceEntity()));
63
});
64
65
V8Helpers::LocalEventHandler explosionEvent(EventType::EXPLOSION_EVENT,
0 commit comments