MysteriousMilk / NS2_CombatPlusPlus

Recreation of Natural Selection Combat mode with with some tweaks and enhancements.
MIT License
6 stars 5 forks source link

Player not awarded kill xp for sentry kills #18

Closed MysteriousMilk closed 6 years ago

MysteriousMilk commented 6 years ago

If a player places a sentry and that sentry kills someone, the player does not currently receive xp for the kill.

In CPPPointGiverMixin:OnPreKill check to see if the attacker is a sentry, look up its owner, and award combat xp to the owner.

This issue has a dependency on Issue #17 since it relies on looking up the structure's owner.