fixed json parsing error on player death

This commit is contained in:
Chris Adamson
2025-04-05 12:32:28 -05:00
parent 99dec1c9a3
commit a198a609de
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -3,6 +3,8 @@
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
Server/user/
SPTarkov.Server/user
SPTarkov.Server/Assets
# User-specific files
*.rsuser
@@ -1459,18 +1459,21 @@ public record DamageStats
public record DeathCause
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public DamageType? DamageType
{
get;
set;
}
[JsonConverter(typeof(JsonStringEnumConverter))]
public PlayerSide? Side
{
get;
set;
}
[JsonConverter(typeof(JsonStringEnumConverter))]
public WildSpawnType? Role
{
get;