KarlOfDuty / SCPDiscord

A NWAPI plugin which adds remote interaction to an SCP:SL server through Discord.
https://karlofduty.com
GNU General Public License v3.0
14 stars 14 forks source link

[BUG] Wrong Victim Wrong Attacker #32

Closed Oyplap closed 1 year ago

Oyplap commented 1 year ago

Describe the bug OnPlayerHurt event, when a teammate is attacking his teammate, the attacker is the victim and the victim is the attacker. Teamkill logs are the other way around.

To Reproduce Steps to reproduce the behavior:

  1. Enable logs for "OnPlayerHurt: FriendlyFire"
  2. Shoot teammate
  3. See logs on Discord
  4. See error

Screenshots If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

KarlOfDuty commented 1 year ago

Duplicate of #31