-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track kills through grenades and other explosives
The source of the explosion for grenades was being passed as the character they were (potentially) on, because no other character was available to be responsible at that point. To make a character available, whenever an item is activated or thrown, set an item var with the last character to do so on it. Then, use that to find the explosion source. Also, ignore it in checking if an item stacks with another.
- Loading branch information
1 parent
2e5b3cf
commit e7fdb40
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters