mirror of
https://github.com/BubbaGumpShrump/AutoTrackR2.git
synced 2025-06-21 14:09:07 +00:00
BugFix
- solve a Bug with other way to die
This commit is contained in:
parent
405dfb2372
commit
cb02ae7ee1
1 changed files with 3 additions and 3 deletions
|
@ -371,7 +371,7 @@ function New-CsvData {
|
|||
Mode = $script:GameMode
|
||||
GameVersion = $script:GameVersion
|
||||
TrackRver = $script:TrackRver
|
||||
Logged = "NONE"
|
||||
Logged = "local"
|
||||
PFP = $playerInfo.PFP
|
||||
}
|
||||
|
||||
|
@ -432,7 +432,7 @@ function New-KillEvent {
|
|||
Weapon = $weapon
|
||||
DamageType = $damageType
|
||||
#Location = if ($data.VictimShip -ne "vehicle_id") { $location } else { "NONE" } #I think this was an error
|
||||
Location = if ($data.VictimShip -ne $vehicle_id) { $location } else { "NONE" }
|
||||
Location = if ($data.VictimShip -ne $vehicle_id) { $location } else { "none" }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -470,7 +470,7 @@ function New-EventType {
|
|||
}
|
||||
|
||||
# Death
|
||||
if($deathLog){$type = "Death"}else{$type = "none"}
|
||||
elseif($deathLog){$type = "Death"}else{$type = "none"}
|
||||
|
||||
#Suicide
|
||||
} elseif ($eventData.AgressorPilot -eq $userName -or $eventData.VictimPilot -eq $userName) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue