mirror of
https://github.com/BubbaGumpShrump/AutoTrackR2.git
synced 2025-06-28 07:36:39 +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
|
Mode = $script:GameMode
|
||||||
GameVersion = $script:GameVersion
|
GameVersion = $script:GameVersion
|
||||||
TrackRver = $script:TrackRver
|
TrackRver = $script:TrackRver
|
||||||
Logged = "NONE"
|
Logged = "local"
|
||||||
PFP = $playerInfo.PFP
|
PFP = $playerInfo.PFP
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -432,7 +432,7 @@ function New-KillEvent {
|
||||||
Weapon = $weapon
|
Weapon = $weapon
|
||||||
DamageType = $damageType
|
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" } #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
|
# Death
|
||||||
if($deathLog){$type = "Death"}else{$type = "none"}
|
elseif($deathLog){$type = "Death"}else{$type = "none"}
|
||||||
|
|
||||||
#Suicide
|
#Suicide
|
||||||
} elseif ($eventData.AgressorPilot -eq $userName -or $eventData.VictimPilot -eq $userName) {
|
} elseif ($eventData.AgressorPilot -eq $userName -or $eventData.VictimPilot -eq $userName) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue