mirror of
https://github.com/BubbaGumpShrump/AutoTrackR2.git
synced 2025-06-19 21:19:07 +00:00
Fixed ship suffixes for variants
This commit is contained in:
parent
eb8632b1a2
commit
abd10c1092
1 changed files with 5 additions and 0 deletions
|
@ -252,6 +252,11 @@ function Read-LogEntry {
|
||||||
while ($ship -match '_(PU|AI|CIV|MIL|PIR)$') {
|
while ($ship -match '_(PU|AI|CIV|MIL|PIR)$') {
|
||||||
$ship = $ship -replace '_(PU|AI|CIV|MIL|PIR)$', ''
|
$ship = $ship -replace '_(PU|AI|CIV|MIL|PIR)$', ''
|
||||||
}
|
}
|
||||||
|
while ($enemyShip -match '-00(1|2|3|4|5|6|7|8|9|0)$') {
|
||||||
|
$enemyShip = $enemyShip -replace '-00(1|2|3|4|5|6|7|8|9|0)$', ''
|
||||||
|
}while ($ship -match '-00(1|2|3|4|5|6|7|8|9|0)$') {
|
||||||
|
$ship = $ship -replace '-00(1|2|3|4|5|6|7|8|9|0)$', ''
|
||||||
|
}
|
||||||
|
|
||||||
$KillTime = (Get-Date).ToUniversalTime().ToString("d MMM yyyy H:mm 'UTC'")
|
$KillTime = (Get-Date).ToUniversalTime().ToString("d MMM yyyy H:mm 'UTC'")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue