-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed by replacing on_post_weapon_drop() with on_pre_weapon_drop() (EntityPostHook => EntityPreHook on 'drop_weapon') Signed-off-by: BackRaw <backraw@gmx.de>
- Loading branch information
BackRaw
committed
Dec 27, 2017
1 parent
4477ae7
commit 7cb1ba0
Showing
1 changed file
with
10 additions
and
9 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
7cb1ba0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of those two ''weapon_ptr'' checks you can just write ''if weapon_ptr''.
7cb1ba0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. Will do :D
Edit: Fixed with 44a255b.